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,
"Written_by" 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", "SpongeBob SquarePants", "Stephen Hillenburg");
INSERT INTO "Cartoon" VALUES ("2", "The Simpsons", "Matt Groening");
INSERT INTO "Cartoon" VALUES ("3", "Tom and Jerry", "William Hanna");
INSERT INTO "Cartoon" VALUES ("4", "Looney Tunes", "Tex Avery");
INSERT INTO "Cartoon" VALUES ("5", "Scooby-Doo, Where Are You!", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("6", "The Flintstones", "Joseph Barbera");
INSERT INTO "Cartoon" VALUES ("7", "Dexter's Laboratory", "Genndy Tartakovsky");
INSERT INTO "Cartoon" VALUES ("8", "Powerpuff Girls", "Craig McCracken");
INSERT INTO "Cartoon" VALUES ("9", "Johnny Bravo", "Van Partible");
INSERT INTO "Cartoon" VALUES ("10", "Courage the Cowardly Dog", "John R. Dilworth");
INSERT INTO "Cartoon" VALUES ("11", "Samurai Jack", "Genndy Tartakovsky");
INSERT INTO "Cartoon" VALUES ("12", "Foster's Home for Imaginary Friends", "Craig McCracken");
INSERT INTO "Cartoon" VALUES ("13", "Adventure Time", "Pendleton Ward");
INSERT INTO "Cartoon" VALUES ("14", "Regular Show", "J.G. Quintel");
INSERT INTO "Cartoon" VALUES ("15", "Steven Universe", "Rebecca Sugar");
INSERT INTO "Cartoon" VALUES ("16", "Gravity Falls", "Alex Hirsch");
INSERT INTO "Cartoon" VALUES ("17", "Rick and Morty", "Justin Roiland");
INSERT INTO "Cartoon" VALUES ("18", "BoJack Horseman", "Raphael Bob-Waksberg");
INSERT INTO "Cartoon" VALUES ("19", "Avatar: The Last Airbender", "Michael Dante DiMartino");
INSERT INTO "Cartoon" VALUES ("20", "The Legend of Korra", "Bryan Konietzko");
INSERT INTO "Cartoon" VALUES ("21", "Phineas and Ferb", "Dan Povenmire");
INSERT INTO "Cartoon" VALUES ("22", "Kim Possible", "Bob Schooley");
INSERT INTO "Cartoon" VALUES ("23", "DuckTales", "Carl Barks");
INSERT INTO "Cartoon" VALUES ("24", "Animaniacs", "Steven Spielberg");
INSERT INTO "Cartoon" VALUES ("25", "Pinky and the Brain", "Tom Ruegger");
INSERT INTO "Cartoon" VALUES ("26", "Batman: The Animated Series", "Bruce Timm");
INSERT INTO "Cartoon" VALUES ("27", "Superman: The Animated Series", "Alan Burnett");
INSERT INTO "Cartoon" VALUES ("28", "Justice League", "Paul Dini");
INSERT INTO "Cartoon" VALUES ("29", "Teen Titans", "Glen Murakami");
INSERT INTO "Cartoon" VALUES ("30", "Ben 10", "Man of Action");
INSERT INTO "Cartoon" VALUES ("31", "The Amazing World of Gumball", "Ben Bocquelet");
INSERT INTO "Cartoon" VALUES ("32", "We Bare Bears", "Daniel Chong");
INSERT INTO "Cartoon" VALUES ("33", "OK K.O.! Let's Be Heroes", "Ian Jones-Quartey");
INSERT INTO "Cartoon" VALUES ("34", "Craig of the Creek", "Matt Burnett");
INSERT INTO "Cartoon" VALUES ("35", "Summer Camp Island", "Julia Pott");
INSERT INTO "Cartoon" VALUES ("36", "Mao Mao: Heroes of Pure Heart", "Parker Simmons");
INSERT INTO "Cartoon" VALUES ("37", "Victor and Valentino", "Diego Molano");
INSERT INTO "Cartoon" VALUES ("38", "Infinity Train", "Owen Dennis");
INSERT INTO "Cartoon" VALUES ("39", "Close Enough", "J.G. Quintel");
INSERT INTO "Cartoon" VALUES ("40", "Primal", "Genndy Tartakovsky");
INSERT INTO "Cartoon" VALUES ("41", "The Midnight Gospel", "Duncan Trussell");
INSERT INTO "Cartoon" VALUES ("42", "Big Mouth", "Nick Kroll");
INSERT INTO "Cartoon" VALUES ("43", "Disenchantment", "Matt Groening");
INSERT INTO "Cartoon" VALUES ("44", "Final Space", "Olan Rogers");
INSERT INTO "Cartoon" VALUES ("45", "Tuca & Bertie", "Lisa Hanawalt");
INSERT INTO "Cartoon" VALUES ("46", "She-Ra and the Princesses of Power", "Noelle Stevenson");
INSERT INTO "Cartoon" VALUES ("47", "Kipo and the Age of Wonderbeasts", "Radford Sechrist");
INSERT INTO "Cartoon" VALUES ("48", "The Dragon Prince", "Aaron Ehasz");
INSERT INTO "Cartoon" VALUES ("49", "Hilda", "Luke Pearson");
INSERT INTO "Cartoon" VALUES ("50", "Carmen Sandiego", "Duane Capizzi");
INSERT INTO "Cartoon" VALUES ("51", "Scooby-Doo! Mystery Incorporated", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("52", "The New Scooby-Doo Movies", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("53", "What's New, Scooby-Doo?", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("54", "A Pup Named Scooby-Doo", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("55", "Scooby-Doo and Scrappy-Doo", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("56", "The 13 Ghosts of Scooby-Doo", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("57", "Shaggy & Scooby-Doo Get a Clue!", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("58", "Be Cool, Scooby-Doo!", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("59", "Scooby-Doo and Guess Who?", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("60", "The Scooby-Doo Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("61", "The Scooby-Doo/Dynomutt Hour", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("62", "The Scooby-Doo/Boo Brothers Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("63", "The Scooby-Doo/Richie Rich Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("64", "The Scooby-Doo/Laff-A-Lympics", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("65", "The Scooby-Doo/Hong Kong Phooey Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("66", "The Scooby-Doo/Captain Caveman Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("67", "The Scooby-Doo/Blue Falcon Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("68", "The Scooby-Doo/Speed Buggy Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("69", "The Scooby-Doo/Jabberjaw Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("70", "The Scooby-Doo/Funky Phantom Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("71", "The Scooby-Doo/Goober and the Ghost Chasers Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("72", "The Scooby-Doo/Butch Cassidy and the Sundance Kids Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("73", "The Scooby-Doo/Josie and the Pussycats Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("74", "The Scooby-Doo/Harlem Globetrotters Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("75", "The Scooby-Doo/Addams Family Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("76", "The Scooby-Doo/Jeannie Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("77", "The Scooby-Doo/Flintstones Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("78", "The Scooby-Doo/Jetsons Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("79", "The Scooby-Doo/Smurfs Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("80", "The Scooby-Doo/Pound Puppies Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("81", "The Scooby-Doo/Snorks Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("82", "The Scooby-Doo/Shirt Tales Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("83", "The Scooby-Doo/Richie Rich/Scooby-Doo Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("84", "The Scooby-Doo/Pac-Man Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("85", "The Scooby-Doo/The Fonz and the Happy Days Gang Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("86", "The Scooby-Doo/Laverne & Shirley in the Army Show", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("87", "The Scooby-Doo/Mork & Mindy/Laverne & Shirley/Fonz Hour", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("88", "The Scooby-Doo/Mork & Mindy/Laverne & Shirley/Fonz/Richie Rich Hour", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("89", "The Scooby-Doo/Mork & Mindy/Laverne & Shirley/Fonz/Richie Rich/Pac-Man Hour", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("90", "The Scooby-Doo/Mork & Mindy/Laverne & Shirley/Fonz/Richie Rich/Pac-Man/Smurfs Hour", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("91", "The Scooby-Doo/Mork & Mindy/Laverne & Shirley/Fonz/Richie Rich/Pac-Man/Smurfs/Pound Puppies Hour", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("92", "The Scooby-Doo/Mork & Mindy/Laverne & Shirley/Fonz/Richie Rich/Pac-Man/Smurfs/Pound Puppies/Snorks Hour", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("93", "The Scooby-Doo/Mork & Mindy/Laverne & Shirley/Fonz/Richie Rich/Pac-Man/Smurfs/Pound Puppies/Snorks/Shirt Tales Hour", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("94", "The Scooby-Doo/Mork & Mindy/Laverne & Shirley/Fonz/Richie Rich/Pac-Man/Smurfs/Pound Puppies/Snorks/Shirt Tales/The Fonz and the Happy Days Gang Hour", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("95", "The Scooby-Doo/Mork & Mindy/Laverne & Shirley/Fonz/Richie Rich/Pac-Man/Smurfs/Pound Puppies/Snorks/Shirt Tales/The Fonz and the Happy Days Gang/Laverne & Shirley in the Army Hour", "Joseph Kuhr");
INSERT INTO "Cartoon" VALUES ("96", "The Scooby-Doo/Mork & Mindy/Laverne & Shirley/Fonz/Richie Rich/Pac-Man/Smurfs/Pound Puppies/Snorks/Shirt Tales/The Fonz and the Happy Days Gang/Laverne & Shirley in the Army/Mork & Mindy/Laverne & Shirley/Fonz Hour", "Joseph Kuhr");