Created
June 19, 2010 23:43
-
-
Save viccherubini/445408 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 products; | |
| CREATE TABLE products (id INTEGER PRIMARY KEY, name TEXT, price REAL, sku TEXT); | |
| INSERT INTO products VALUES (NULL, 'Product 1', 10.95, 'P1'); | |
| INSERT INTO products VALUES (NULL, 'Product 2', 18.95, 'P2'); | |
| INSERT INTO products VALUES (NULL, 'Product 3', 22.97, 'P3'); | |
| DROP TABLE IF EXISTS users; | |
| CREATE TABLE users (id INTEGER PRIMARY KEY, username TEXT, password TEXT, age INTEGER, favorite_book TEXT); | |
| INSERT INTO users VALUES(NULL, 'vcherubini', 'password1', 25, 'xUnit Test Patterns'); | |
| INSERT INTO users VALUES(NULL, 'bsaget', 'password2', 50, 'The Olsen Twins: A Legacy'); | |
| INSERT INTO users VALUES(NULL, 'ggottfried', 'password3', 52, 'Its The Whiskey Talkin'); | |
| INSERT INTO users VALUES(NULL, 'howard_stern', 'password4', 56, 'Private Parts'); | |
| DROP TABLE IF EXISTS large_object; | |
| CREATE TABLE large_object (large_object_id INTEGER PRIMARY KEY, object_data TEXT); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment