File size: 1,132 Bytes
cdc1cad | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | CREATE TABLE "college" (
"cname" text,
"state" text,
"enr" integer
);
INSERT INTO college VALUES ("asu", "la", 18000);
INSERT INTO college VALUES ("fsu", "az", 12000);
INSERT INTO college VALUES ("lsu", "ok", 22000);
INSERT INTO college VALUES ("ou", "fl", 19000);
CREATE TABLE "player" (
"pid" integer,
"pname" text,
"ycard" text,
"hs" integer
);
INSERT INTO player VALUES (10001, "andrew", "no", 1200);
INSERT INTO player VALUES (20002, "blake", "no", 1600);
INSERT INTO player VALUES (30003, "charles", "no", 300);
INSERT INTO player VALUES (40002, "david", "yes", 1600);
INSERT INTO player VALUES (40004, "drago", "yes", 1600);
INSERT INTO player VALUES (50005, "eddie", "yes", 600);
CREATE TABLE "tryout" (
"pid" integer,
"cname" text,
"ppos" text,
"decision" text
);
INSERT INTO tryout VALUES (10001, "asu", "goalie", "no");
INSERT INTO tryout VALUES (10001, "lsu", "goalie", "yes");
INSERT INTO tryout VALUES (20002, "fsu", "striker", "yes");
INSERT INTO tryout VALUES (30003, "ou", "mid", "no");
INSERT INTO tryout VALUES (40004, "asu", "goalie", "no");
INSERT INTO tryout VALUES (50005, "lsu", "mid", "no");
COMMIT;
|