Skip to content

Instantly share code, notes, and snippets.

@YuvrajKhavad
Last active January 1, 2019 14:01
SQL query to create a table
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