Created
March 27, 2017 17:05
-
-
Save itswadesh/848f51d7fea857590fb85d61ee2ddbe1 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
CREATE TABLE IF NOT EXISTS `customers` ( | |
`customerNumber` int(11) NOT NULL, | |
`customerName` varchar(50) NOT NULL, | |
`contactLastName` varchar(50) NOT NULL, | |
`contactFirstName` varchar(50) NOT NULL, | |
`addressLine1` varchar(50) NOT NULL, | |
`addressLine2` varchar(50) DEFAULT NULL, | |
`city` varchar(50) NOT NULL, | |
`state` varchar(50) DEFAULT NULL, | |
`postalCode` varchar(15) DEFAULT NULL, | |
`country` varchar(50) NOT NULL, | |
`salesRepEmployeeNumber` int(11) DEFAULT NULL, | |
`creditLimit` double DEFAULT NULL, | |
PRIMARY KEY (`customerNumber`), | |
KEY `salesRepEmployeeNumber` (`salesRepEmployeeNumber`) | |
) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment