Created
April 14, 2015 09:12
-
-
Save juliensimon/12e9736bd8b2be62b316 to your computer and use it in GitHub Desktop.
create table redshift
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 mydata | |
( | |
lastname VARCHAR(30) NOT NULL, | |
firstname VARCHAR(30) NOT NULL, | |
gender CHAR(1) NOT NULL, | |
state VARCHAR(30) NOT NULL, | |
age SMALLINT NOT NULL, | |
month SMALLINT NOT NULL, | |
day SMALLINT NOT NULL, | |
hour SMALLINT NOT NULL, | |
minutes SMALLINT NOT NULL, | |
items SMALLINT NOT NULL, | |
basket INTEGER NOT NULL | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment