Created
March 20, 2019 05:37
-
-
Save msyfls123/d72de5fbb615024d89a67df28c3536c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP TABLE IF EXISTS `workers`; | |
CREATE TABLE `workers` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`name` varchar(20) NOT NULL, | |
`sex` enum('F','M','S'), | |
`salary` int(11) DEFAULT '0', | |
`email` varchar(30), | |
`EmployedDates` date, | |
`department` varchar(30), | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment