Skip to content

Instantly share code, notes, and snippets.

@msyfls123
Created March 20, 2019 05:37
Show Gist options
  • Save msyfls123/d72de5fbb615024d89a67df28c3536c6 to your computer and use it in GitHub Desktop.
Save msyfls123/d72de5fbb615024d89a67df28c3536c6 to your computer and use it in GitHub Desktop.
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