Created
November 26, 2021 02:41
-
-
Save antoniocachuan/e480b6a6ff686f8437812bd9199dc390 to your computer and use it in GitHub Desktop.
Create Scripts
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
--postgresql | |
CREATE TABLE transaction ( | |
transaction_id serial PRIMARY KEY, | |
store_name VARCHAR ( 100 ), | |
transaction_date TIMESTAMP, | |
price VARCHAR ( 50 ), | |
last_updated TIMESTAMP | |
); | |
--bigquery | |
CREATE OR REPLACE TABLE reporting.transaction_model ( | |
transaction_id STRING, | |
store_name STRING, | |
transaction_date TIMESTAMP, | |
price STRING, | |
last_updated TIMESTAMP | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment