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 "employee" (
"Employee_ID" INT,
"Name" TEXT,
"Age" INT,
PRIMARY KEY ("Employee_ID")
);

CREATE TABLE "evaluation" (
"Employee_ID" TEXT,
"Year_awarded" TEXT,
"Bonus" FLOAT,
PRIMARY KEY ("Employee_ID", "Year_awarded")
);

CREATE TABLE "hiring" (
"Employee_ID" INT,
"Is_full_time" BOOLEAN,
PRIMARY KEY ("Employee_ID")
);

CREATE TABLE "shop" (
"Shop_ID" INT,
"Location" TEXT,
PRIMARY KEY ("Shop_ID")
);





INSERT INTO "employee" VALUES ("1", "Alice Johnson", "28");
INSERT INTO "employee" VALUES ("2", "Bob Smith", "35");
INSERT INTO "employee" VALUES ("3", "Charlie Lee", "22");
INSERT INTO "employee" VALUES ("4", "Diana Prince", "40");
INSERT INTO "employee" VALUES ("5", "Ethan Hunt", "30");
INSERT INTO "employee" VALUES ("6", "Fiona Gallagher", "22");
INSERT INTO "employee" VALUES ("7", "George Martin", "50");
INSERT INTO "employee" VALUES ("8", "Hannah Brown", "28");
INSERT INTO "employee" VALUES ("9", "Ian Curtis", "35");
INSERT INTO "employee" VALUES ("10", "Jane Doe", "40");
INSERT INTO "evaluation" VALUES ("1", "2022", "1500.00");
INSERT INTO "evaluation" VALUES ("1", "2023", "1600.00");
INSERT INTO "evaluation" VALUES ("2", "2022", "1200.00");
INSERT INTO "evaluation" VALUES ("3", "2023", "1000.00");
INSERT INTO "evaluation" VALUES ("4", "2021", "2000.00");
INSERT INTO "evaluation" VALUES ("5", "2023", "1100.00");
INSERT INTO "evaluation" VALUES ("6", "2022", "1300.00");
INSERT INTO "evaluation" VALUES ("7", "2023", "2500.00");
INSERT INTO "evaluation" VALUES ("8", "2021", "1400.00");
INSERT INTO "evaluation" VALUES ("9", "2022", "1150.00");
INSERT INTO "evaluation" VALUES ("10", "2023", "1800.00");
INSERT INTO "hiring" VALUES ("1", "1");
INSERT INTO "hiring" VALUES ("2", "0");
INSERT INTO "hiring" VALUES ("3", "1");
INSERT INTO "hiring" VALUES ("4", "1");
INSERT INTO "hiring" VALUES ("5", "0");
INSERT INTO "hiring" VALUES ("6", "1");
INSERT INTO "hiring" VALUES ("7", "0");
INSERT INTO "hiring" VALUES ("8", "1");
INSERT INTO "hiring" VALUES ("9", "0");
INSERT INTO "hiring" VALUES ("10", "1");
INSERT INTO "shop" VALUES ("1", "New York");
INSERT INTO "shop" VALUES ("2", "Los Angeles");
INSERT INTO "shop" VALUES ("3", "Chicago");
INSERT INTO "shop" VALUES ("4", "Houston");
INSERT INTO "shop" VALUES ("5", "Phoenix");