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,
"Directed_by" TEXT,
PRIMARY KEY ("id")
);

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

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





INSERT INTO "Cartoon" VALUES ("1.0", "Tom and Jerry", "William Hanna");
INSERT INTO "Cartoon" VALUES ("2.0", "Looney Tunes", "Chuck Jones");
INSERT INTO "Cartoon" VALUES ("3.0", "The Flintstones", "William Hanna");
INSERT INTO "Cartoon" VALUES ("4.0", "Scooby-Doo, Where Are You!", "Joseph Barbera");
INSERT INTO "Cartoon" VALUES ("5.0", "The Simpsons", "Matt Groening");
INSERT INTO "Cartoon" VALUES ("6.0", "SpongeBob SquarePants", "Stephen Hillenburg");
INSERT INTO "Cartoon" VALUES ("7.0", "Family Guy", "Seth MacFarlane");
INSERT INTO "Cartoon" VALUES ("8.0", "Rick and Morty", "Justin Roiland");
INSERT INTO "Cartoon" VALUES ("9.0", "Adventure Time", "Pendleton Ward");
INSERT INTO "Cartoon" VALUES ("10.0", "Steven Universe", "Rebecca Sugar");
INSERT INTO "Cartoon" VALUES ("11.0", "The Powerpuff Girls", "Craig McCracken");
INSERT INTO "Cartoon" VALUES ("12.0", "Dexter's Laboratory", "Genndy Tartakovsky");
INSERT INTO "Cartoon" VALUES ("13.0", "Samurai Jack", "Genndy Tartakovsky");
INSERT INTO "Cartoon" VALUES ("14.0", "Courage the Cowardly Dog", "John R. Dilworth");
INSERT INTO "Cartoon" VALUES ("15.0", "Animaniacs", "Steven Spielberg");
INSERT INTO "Cartoon" VALUES ("16.0", "Pinky and the Brain", "Steven Spielberg");
INSERT INTO "Cartoon" VALUES ("17.0", "Futurama", "Matt Groening");
INSERT INTO "Cartoon" VALUES ("18.0", "King of the Hill", "Mike Judge");
INSERT INTO "Cartoon" VALUES ("19.0", "South Park", "Trey Parker");
INSERT INTO "Cartoon" VALUES ("20.0", "BoJack Horseman", "Raphael Bob-Waksberg");
INSERT INTO "TV_Channel" VALUES ("CN", "Cartoon Network", "Animation");
INSERT INTO "TV_Channel" VALUES ("NICK", "Nickelodeon", "Animation");
INSERT INTO "TV_Channel" VALUES ("ADULT", "Adult Swim", "Adult Animation");
INSERT INTO "TV_Channel" VALUES ("FOX", "Fox", "Animation");
INSERT INTO "TV_Channel" VALUES ("HBOMAX", "HBO Max", "Streaming");
INSERT INTO "TV_Channel" VALUES ("NETFLIX", "Netflix", "Streaming");
INSERT INTO "TV_Channel" VALUES ("DISNEY", "Disney Channel", "Kids Animation");
INSERT INTO "TV_series" VALUES ("1.0", "Pilot");
INSERT INTO "TV_series" VALUES ("2.0", "Rabbit Fire");
INSERT INTO "TV_series" VALUES ("3.0", "The Hot Flash");
INSERT INTO "TV_series" VALUES ("4.0", "What a Night for a Knight");
INSERT INTO "TV_series" VALUES ("5.0", "Simpsons Roasting on an Open Fire");
INSERT INTO "TV_series" VALUES ("6.0", "Help Wanted");
INSERT INTO "TV_series" VALUES ("7.0", "Death Has a Shadow");
INSERT INTO "TV_series" VALUES ("8.0", "Pilot");
INSERT INTO "TV_series" VALUES ("9.0", "Slumber Party Panic");
INSERT INTO "TV_series" VALUES ("10.0", "Gem Glow");
INSERT INTO "TV_series" VALUES ("11.0", "Insect Inside");
INSERT INTO "TV_series" VALUES ("12.0", "Dee Dee's Rival");
INSERT INTO "TV_series" VALUES ("13.0", "The Beginning");
INSERT INTO "TV_series" VALUES ("14.0", "A Night at the Katz Motel");
INSERT INTO "TV_series" VALUES ("15.0", "De-Zanitized");
INSERT INTO "TV_series" VALUES ("16.0", "Brainwashed");
INSERT INTO "TV_series" VALUES ("17.0", "Space Pilot 3000");
INSERT INTO "TV_series" VALUES ("18.0", "Pilot");
INSERT INTO "TV_series" VALUES ("19.0", "Cartman Gets an Anal Probe");
INSERT INTO "TV_series" VALUES ("20.0", "The BoJack Horseman Story, Chapter One");