Created
May 27, 2012 08:34
-
-
Save clippit/2802860 to your computer and use it in GitHub Desktop.
database assignment 1
This file contains hidden or 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 `test` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`col1` enum('Mike','Bob','Jack','Alice','Cathy','Ann','Betty','Cindy','Mary','Jane') NOT NULL, | |
`col2` varchar(5) NOT NULL, | |
`col3` tinyint(4) NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment