2016-10-23 13:07:13 -04:00
|
|
|
CREATE TABLE IF NOT EXISTS `department` (
|
|
|
|
|
|
|
|
`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
|
|
|
`name` varchar(20)
|
|
|
|
|
|
|
|
)ENGINE=InnoDB DEFAULT CHARSET=UTF8;
|
|
|
|
|
2016-09-12 13:23:09 -04:00
|
|
|
ALTER TABLE `employee` ADD `dept_id` int AFTER `email`;
|