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", "Cooper");
INSERT INTO "Dogs" VALUES ("6", "BC06", "Daisy");
INSERT INTO "Dogs" VALUES ("7", "BC07", "Molly");
INSERT INTO "Dogs" VALUES ("8", "BC08", "Buddy");
INSERT INTO "Dogs" VALUES ("9", "BC09", "Lola");
INSERT INTO "Dogs" VALUES ("10", "BC10", "Rocky");
INSERT INTO "Owners" VALUES ("1", "John", "Smith");
INSERT INTO "Owners" VALUES ("2", "Emma", "Johnson");
INSERT INTO "Owners" VALUES ("3", "Oliver", "Williams");
INSERT INTO "Owners" VALUES ("4", "Sophia", "Brown");
INSERT INTO "Owners" VALUES ("5", "Max", "Jones");
INSERT INTO "Owners" VALUES ("6", "Mia", "Garcia");
INSERT INTO "Owners" VALUES ("7", "Liam", "Martinez");
INSERT INTO "Owners" VALUES ("8", "Isabella", "Davis");
INSERT INTO "Owners" VALUES ("9", "Ethan", "Rodriguez");
INSERT INTO "Owners" VALUES ("10", "Amelia", "Wilson");
INSERT INTO "Professionals" VALUES ("1", "James", "Moore");
INSERT INTO "Professionals" VALUES ("2", "Olivia", "Taylor");
INSERT INTO "Professionals" VALUES ("3", "Benjamin", "Anderson");
INSERT INTO "Professionals" VALUES ("4", "Charlotte", "Thomas");
INSERT INTO "Professionals" VALUES ("5", "Bella", "Jackson");
INSERT INTO "Professionals" VALUES ("6", "Lucas", "White");
INSERT INTO "Professionals" VALUES ("7", "Mason", "Harris");
INSERT INTO "Professionals" VALUES ("8", "Evelyn", "Martin");
INSERT INTO "Professionals" VALUES ("9", "Harper", "Thompson");
INSERT INTO "Professionals" VALUES ("10", "Ella", "Garcia");