| CREATE TABLE "film" ( | |
| "film_id" integer, | |
| "rank_in_series" integer, | |
| "number_in_season" integer, | |
| "title" text, | |
| "directed_by" text, | |
| "original_air_date" text, | |
| "production_code" text | |
| ); | |
| INSERT INTO film VALUES (1, 26, 1, "the case of the mystery weekend", "bill schreiner", "september 21–25 1992", "50021–50025"); | |
| INSERT INTO film VALUES (2, 27, 2, "the case of the smart dummy", "bill schreiner", "september 28–october 2 1992", "50231–50235"); | |
| INSERT INTO film VALUES (3, 28, 3, "the case: off the record", "bill schreiner", "october 5–9 1992", "50011–50015"); | |
| INSERT INTO film VALUES (4, 29, 4, "the case of the bermuda triangle", "jesus salvador treviño", "october 12–16 1992", "50251–50255"); | |
| INSERT INTO film VALUES (5, 30, 5, "the case of the piggy banker", "bill schreiner", "october 19–23 1992", "50241–50245"); | |
| CREATE TABLE "cinema" ( | |
| "cinema_id" integer, | |
| "name" text, | |
| "openning_year" integer, | |
| "capacity" integer, | |
| "location" text | |
| ); | |
| INSERT INTO cinema VALUES (1, "codling", 2010, 1100, "county wicklow"); | |
| INSERT INTO cinema VALUES (2, "carrowleagh", 2012, 368, "county cork"); | |
| INSERT INTO cinema VALUES (3, "dublin array", 2015, 364, "county dublin"); | |
| INSERT INTO cinema VALUES (4, "glenmore", 2009, 305, "county clare"); | |
| INSERT INTO cinema VALUES (5, "glenough", 2010, 325, "county tipperary"); | |
| INSERT INTO cinema VALUES (6, "gortahile", 2010, 208, "county laois"); | |
| INSERT INTO cinema VALUES (7, "grouse lodge", 2011, 203, "county tipperary"); | |
| INSERT INTO cinema VALUES (8, "moneypoint", 2011, 225, "county clare"); | |
| INSERT INTO cinema VALUES (9, "mount callan", 2011, 908, "county clare"); | |
| INSERT INTO cinema VALUES (10, "oriel", 2013, 330, "county louth"); | |
| CREATE TABLE "schedule" ( | |
| "cinema_id" integer, | |
| "film_id" integer, | |
| "date" text, | |
| "show_times_per_day" integer, | |
| "price" real | |
| ); | |
| INSERT INTO schedule VALUES (1, 1, "21 may", 5, 12.99); | |
| INSERT INTO schedule VALUES (1, 2, "21 may", 3, 12.99); | |
| INSERT INTO schedule VALUES (1, 3, "21 jun", 2, 8.99); | |
| INSERT INTO schedule VALUES (2, 1, "11 july", 5, 9.99); | |
| INSERT INTO schedule VALUES (6, 5, "2 aug", 4, 12.99); | |
| INSERT INTO schedule VALUES (9, 4, "20 may", 5, 9.99); | |
| INSERT INTO schedule VALUES (10, 1, "19 may", 5, 15.99); | |
| COMMIT; | |