PRAGMA foreign_keys = ON;

PRAGMA writable_schema = 1;
DELETE FROM sqlite_master WHERE type IN ("table", "index", "trigger");
PRAGMA writable_schema = 0;
VACUUM;

CREATE TABLE "Cartoon" (
"id" FLOAT,
"Title" TEXT,
PRIMARY KEY ("id")
);

CREATE TABLE "TV_Channel" (
"id" TEXT,
"series_name" TEXT,
PRIMARY KEY ("id")
);

CREATE TABLE "TV_series" (
"id" FLOAT,
"Episode" TEXT,
"Air_Date" TEXT,
PRIMARY KEY ("id")
);





INSERT INTO "Cartoon" VALUES ("1", "Alpha Adventures");
INSERT INTO "Cartoon" VALUES ("2", "Beta-Bugs");
INSERT INTO "Cartoon" VALUES ("3", "Charlie & Chums");
INSERT INTO "Cartoon" VALUES ("4", "Delta_Dragons");
INSERT INTO "Cartoon" VALUES ("5", "Echo's Quest");
INSERT INTO "Cartoon" VALUES ("6", "Foxtrot 7");
INSERT INTO "Cartoon" VALUES ("7", "Gamma Rays");
INSERT INTO "Cartoon" VALUES ("8", "123 Go!");
INSERT INTO "Cartoon" VALUES ("9", "!Exclaim");
INSERT INTO "Cartoon" VALUES ("10", "Beta-Bugs");
INSERT INTO "Cartoon" VALUES ("11", "Zeta Zone");
INSERT INTO "Cartoon" VALUES ("12", "Alpha Adventures");
INSERT INTO "Cartoon" VALUES ("13", "Omega_Odyssey");
INSERT INTO "TV_Channel" VALUES ("CH01", "Alpha Adventures");
INSERT INTO "TV_Channel" VALUES ("CH02", "Beta-Bugs");
INSERT INTO "TV_Channel" VALUES ("CH03", "Charlie & Chums");
INSERT INTO "TV_Channel" VALUES ("CH04", "Delta_Dragons");
INSERT INTO "TV_Channel" VALUES ("CH05", "Echo's Quest");
INSERT INTO "TV_Channel" VALUES ("CH06", "Foxtrot 7");
INSERT INTO "TV_Channel" VALUES ("CH07", "Gamma Rays");
INSERT INTO "TV_Channel" VALUES ("CH08", "123 Go!");
INSERT INTO "TV_Channel" VALUES ("CH09", "!Exclaim");
INSERT INTO "TV_Channel" VALUES ("CH10", "Zeta Zone");
INSERT INTO "TV_Channel" VALUES ("CH11", "Omega_Odyssey");
INSERT INTO "TV_series" VALUES ("101", "Episode 1", "2023-01-01");
INSERT INTO "TV_series" VALUES ("102", "Episode 2", "2023-01-08");
INSERT INTO "TV_series" VALUES ("103", "Episode 3", "2023-01-15");
INSERT INTO "TV_series" VALUES ("104", "Episode 4", "2023-01-22");
INSERT INTO "TV_series" VALUES ("105", "Episode 5", "2023-01-29");
INSERT INTO "TV_series" VALUES ("106", "Episode 6", "2023-02-05");
INSERT INTO "TV_series" VALUES ("107", "Episode 7", "2023-02-12");
INSERT INTO "TV_series" VALUES ("108", "Episode 8", "2023-02-19");
INSERT INTO "TV_series" VALUES ("109", "Episode 9", "2023-02-26");
INSERT INTO "TV_series" VALUES ("110", "Episode 10", "2023-03-05");