Last active
January 1, 2019 14:01
-
-
Save YuvrajKhavad/71c1cc416a001b12f04d7373d156026e to your computer and use it in GitHub Desktop.
SQL query to create a table
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
CREATE TABLE `employee` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`fist_name` varchar(255) NOT NULL, | |
`last_name` varchar(255) NOT NULL, | |
`email` varchar(255) NOT NULL, | |
`gender` TINYINT NOT NULL, | |
`created_at` datetime NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment