Created
September 4, 2022 12:49
-
-
Save gmyrianthous/c2bf0d542c3efba84f7d465919245195 to your computer and use it in GitHub Desktop.
Example rental_table
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
DROP TABLE IF EXISTS rental; | |
CREATE TABLE rental ( | |
id INTEGER PRIMARY KEY, | |
customer_id INTEGER NOT NULL, | |
store_id INTEGER NOT NULL, | |
amount FLOAT NOT NULL, | |
status VARCHAR(255) NOT NULL, | |
notes VARCHAR(255), | |
rental_date TIMESTAMP, | |
return_date TIMESTAMP | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment