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

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





INSERT INTO "Cartoon" VALUES ("1", "Adventure Time");
INSERT INTO "Cartoon" VALUES ("2", "Rick and Morty");
INSERT INTO "Cartoon" VALUES ("3", "Gravity Falls");
INSERT INTO "Cartoon" VALUES ("4", "Steven Universe");
INSERT INTO "Cartoon" VALUES ("5", "The Simpsons");
INSERT INTO "TV_Channel" VALUES ("CH001", "Adventure Time", "USA", "Yes", "Premium");
INSERT INTO "TV_Channel" VALUES ("CH002", "Rick and Morty", "Canada", "No", "Basic");
INSERT INTO "TV_Channel" VALUES ("CH003", "Gravity Falls", "UK", "Yes", "Standard");
INSERT INTO "TV_Channel" VALUES ("CH004", "Steven Universe", "Australia", "No", "Basic");
INSERT INTO "TV_Channel" VALUES ("CH005", "The Simpsons", "USA", "Yes", "Premium");
INSERT INTO "TV_Channel" VALUES ("CH006", "Adventure Time", "UK", "Yes", "Standard");
INSERT INTO "TV_Channel" VALUES ("CH007", "Rick and Morty", "USA", "No", "Basic");
INSERT INTO "TV_Channel" VALUES ("CH008", "Gravity Falls", "Canada", "Yes", "Premium");
INSERT INTO "TV_Channel" VALUES ("CH009", "Steven Universe", "UK", "Yes", "Standard");
INSERT INTO "TV_Channel" VALUES ("CH010", "The Simpsons", "Australia", "No", "Basic");
INSERT INTO "TV_series" VALUES ("101", "Episode 1");
INSERT INTO "TV_series" VALUES ("102", "Episode 2");
INSERT INTO "TV_series" VALUES ("103", "Episode 3");
INSERT INTO "TV_series" VALUES ("104", "Episode 4");
INSERT INTO "TV_series" VALUES ("105", "Episode 5");
INSERT INTO "TV_series" VALUES ("106", "Episode 6");
INSERT INTO "TV_series" VALUES ("107", "Episode 7");
INSERT INTO "TV_series" VALUES ("108", "Episode 8");
INSERT INTO "TV_series" VALUES ("109", "Episode 9");
INSERT INTO "TV_series" VALUES ("110", "Episode 10");