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 "Pets" (
"PetID" INT,
"PetType" VARCHAR(20),
"pet_age" INT,
"weight" FLOAT,
PRIMARY KEY ("PetID")
);

CREATE TABLE "Student" (
"StuID" INT,
"Age" INT,
"Sex" VARCHAR(1),
PRIMARY KEY ("StuID")
);





INSERT INTO "Pets" VALUES ("1", "dog", "3", "12.5");
INSERT INTO "Pets" VALUES ("2", "dog", "1", "8.0");
INSERT INTO "Pets" VALUES ("3", "dog", "1", "7.5");
INSERT INTO "Pets" VALUES ("4", "cat", "2", "5.0");
INSERT INTO "Pets" VALUES ("5", "dog", "5", "20.0");
INSERT INTO "Pets" VALUES ("6", "parrot", "1", "0.3");
INSERT INTO "Pets" VALUES ("7", "dog", "2", "10.0");
INSERT INTO "Pets" VALUES ("8", "cat", "1", "4.5");
INSERT INTO "Pets" VALUES ("9", "dog", "1", "9.0");
INSERT INTO "Pets" VALUES ("10", "dog", "4", "15.0");
INSERT INTO "Student" VALUES ("1", "20", "M");
INSERT INTO "Student" VALUES ("2", "18", "F");
INSERT INTO "Student" VALUES ("3", "22", "M");
INSERT INTO "Student" VALUES ("4", "19", "F");
INSERT INTO "Student" VALUES ("5", "21", "M");