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

CREATE TABLE "TV_Channel" (
"id" TEXT,
"Country" TEXT,
"Language" TEXT,
"Pixel_aspect_ratio_PAR" TEXT,
PRIMARY KEY ("id")
);

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





INSERT INTO "Cartoon" VALUES ("1", "2001-05-12");
INSERT INTO "Cartoon" VALUES ("2", "1999-11-23");
INSERT INTO "Cartoon" VALUES ("3", "2010-07-15");
INSERT INTO "Cartoon" VALUES ("4", "2005-01-30");
INSERT INTO "Cartoon" VALUES ("5", "2018-09-10");
INSERT INTO "TV_Channel" VALUES ("CH001", "United States", "English", "16:9");
INSERT INTO "TV_Channel" VALUES ("CH002", "France", "French", "4:3");
INSERT INTO "TV_Channel" VALUES ("CH003", "Japan", "Japanese", "16:9");
INSERT INTO "TV_Channel" VALUES ("CH004", "Germany", "German", "16:10");
INSERT INTO "TV_Channel" VALUES ("CH005", "Brazil", "Portuguese", "4:3");
INSERT INTO "TV_Channel" VALUES ("CH006", "India", "Hindi", "16:9");
INSERT INTO "TV_Channel" VALUES ("CH007", "Canada", "English", "16:9");
INSERT INTO "TV_Channel" VALUES ("CH008", "Mexico", "Spanish", "4:3");
INSERT INTO "TV_Channel" VALUES ("CH009", "South Korea", "Korean", "16:9");
INSERT INTO "TV_Channel" VALUES ("CH010", "Russia", "Russian", "16:10");
INSERT INTO "TV_series" VALUES ("101", "PG-13");
INSERT INTO "TV_series" VALUES ("102", "R");
INSERT INTO "TV_series" VALUES ("103", "G");
INSERT INTO "TV_series" VALUES ("104", "PG");
INSERT INTO "TV_series" VALUES ("105", "NR");