Created
September 18, 2016 06:37
-
-
Save liuliqiang/16bef0882a94599f6612af3dafc94674 to your computer and use it in GitHub Desktop.
sqlalchemy try
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
-- SQL for the Cars table | |
BEGIN TRANSACTION; | |
DROP TABLE IF EXISTS Cars; | |
CREATE TABLE Cars(Id INTEGER PRIMARY KEY, Name TEXT, Price INTEGER); | |
INSERT INTO Cars VALUES(1, 'Audi', 52642); | |
INSERT INTO Cars VALUES(2, 'Mercedes', 57127); | |
INSERT INTO Cars VALUES(3, 'Skoda', 9000); | |
INSERT INTO Cars VALUES(4, 'Volvo', 29000); | |
INSERT INTO Cars VALUES(5, 'Bentley', 350000); | |
INSERT INTO Cars VALUES(6, 'Citroen', 21000); | |
INSERT INTO Cars VALUES(7, 'Hummer', 41400); | |
INSERT INTO Cars VALUES(8, 'Volkswagen', 21600); | |
COMMIT; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment