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 "Dogs" (
"dog_id" INT,
"breed_code" VARCHAR(10),
"name" VARCHAR(50),
PRIMARY KEY ("dog_id")
);

CREATE TABLE "Owners" (
"owner_id" INT,
"first_name" VARCHAR(50),
"last_name" VARCHAR(50),
PRIMARY KEY ("owner_id")
);

CREATE TABLE "Professionals" (
"professional_id" INT,
"first_name" VARCHAR(50),
"last_name" VARCHAR(50),
PRIMARY KEY ("professional_id")
);





INSERT INTO "Dogs" VALUES ("1", "BC01", "Max");
INSERT INTO "Dogs" VALUES ("2", "BC02", "Bella");
INSERT INTO "Dogs" VALUES ("3", "BC03", "Charlie");
INSERT INTO "Dogs" VALUES ("4", "BC04", "Lucy");
INSERT INTO "Dogs" VALUES ("5", "BC05", "Daisy");
INSERT INTO "Dogs" VALUES ("6", "BC06", "Molly");
INSERT INTO "Dogs" VALUES ("7", "BC07", "Jack");
INSERT INTO "Dogs" VALUES ("8", "BC08", "Luna");
INSERT INTO "Dogs" VALUES ("9", "BC09", "Rocky");
INSERT INTO "Dogs" VALUES ("10", "BC10", "Sadie");
INSERT INTO "Dogs" VALUES ("11", "BC11", "Oliver");
INSERT INTO "Dogs" VALUES ("12", "BC12", "Bailey");
INSERT INTO "Dogs" VALUES ("13", "BC13", "Toby");
INSERT INTO "Dogs" VALUES ("14", "BC14", "Coco");
INSERT INTO "Dogs" VALUES ("15", "BC15", "Maggie");
INSERT INTO "Dogs" VALUES ("16", "BC16", "Max");
INSERT INTO "Owners" VALUES ("1", "Max", "Johnson");
INSERT INTO "Owners" VALUES ("2", "Emma", "Smith");
INSERT INTO "Owners" VALUES ("3", "Oliver", "Brown");
INSERT INTO "Owners" VALUES ("4", "Sophia", "Davis");
INSERT INTO "Owners" VALUES ("5", "Liam", "Miller");
INSERT INTO "Owners" VALUES ("6", "Molly", "Wilson");
INSERT INTO "Owners" VALUES ("7", "Ethan", "Moore");
INSERT INTO "Owners" VALUES ("8", "Ava", "Taylor");
INSERT INTO "Owners" VALUES ("9", "Jack", "Anderson");
INSERT INTO "Owners" VALUES ("10", "Isabella", "Thomas");
INSERT INTO "Owners" VALUES ("11", "Charlie", "Jackson");
INSERT INTO "Owners" VALUES ("12", "Mia", "White");
INSERT INTO "Owners" VALUES ("13", "Amelia", "Harris");
INSERT INTO "Owners" VALUES ("14", "Lucas", "Martin");
INSERT INTO "Owners" VALUES ("15", "Ella", "Thompson");
INSERT INTO "Owners" VALUES ("16", "Rocky", "Garcia");
INSERT INTO "Professionals" VALUES ("1", "Max", "Roberts");
INSERT INTO "Professionals" VALUES ("2", "James", "Walker");
INSERT INTO "Professionals" VALUES ("3", "Benjamin", "Hall");
INSERT INTO "Professionals" VALUES ("4", "Mia", "Allen");
INSERT INTO "Professionals" VALUES ("5", "Jack", "Young");
INSERT INTO "Professionals" VALUES ("6", "Amelia", "Hernandez");
INSERT INTO "Professionals" VALUES ("7", "Lucas", "King");
INSERT INTO "Professionals" VALUES ("8", "Ella", "Wright");
INSERT INTO "Professionals" VALUES ("9", "Harper", "Lopez");
INSERT INTO "Professionals" VALUES ("10", "Evelyn", "Hill");
INSERT INTO "Professionals" VALUES ("11", "Charlie", "Scott");
INSERT INTO "Professionals" VALUES ("12", "Luna", "Green");
INSERT INTO "Professionals" VALUES ("13", "Max", "Adams");
INSERT INTO "Professionals" VALUES ("14", "Oliver", "Baker");
INSERT INTO "Professionals" VALUES ("15", "Sophia", "Nelson");
INSERT INTO "Professionals" VALUES ("16", "Molly", "Carter");