Created
September 7, 2021 03:32
-
-
Save antoniocachuan/5ffd1c6085b7d1551816ed08ab04b3e5 to your computer and use it in GitHub Desktop.
Simple Create for PostgreSQL
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 transactions ( | |
transaction_id serial PRIMARY KEY, | |
product VARCHAR ( 50 ), | |
category VARCHAR ( 50 ), | |
email VARCHAR ( 255 ), | |
created_on TIMESTAMP | |
); | |
insert into transactions values (1, 'soda', 'drinks', '', '2021-08-08T01:10:45') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment