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 "hiring" (
"Shop_ID" INT,
"Employee_ID" INT,
PRIMARY KEY ("Employee_ID"),
FOREIGN KEY ("Shop_ID") REFERENCES "shop"("Shop_ID")
);

CREATE TABLE "shop" (
"Shop_ID" INT UNIQUE,
"Name" TEXT,
"Location" TEXT,
"District" TEXT,
"Number_products" INT,
PRIMARY KEY ("Shop_ID")
);





INSERT INTO "shop" VALUES ("1", "Electronics Hub", "Downtown", "Central", "2500");
INSERT INTO "shop" VALUES ("2", "Mega Mart", "Uptown", "Central", "12000");
INSERT INTO "shop" VALUES ("3", "Gadget World", "Suburbia", "North", "1500");
INSERT INTO "shop" VALUES ("4", "Tech Zone", "City Center", "South", "8000");
INSERT INTO "shop" VALUES ("5", "Digital Den", "Industrial Park", "East", "20000");
INSERT INTO "shop" VALUES ("6", "Small Bytes", "Old Town", "Central", "15000");
INSERT INTO "shop" VALUES ("7", "Quick Fix", "Rural Area", "West", "500");
INSERT INTO "shop" VALUES ("8", "Big Box Store", "Commercial District", "North", "25000");
INSERT INTO "shop" VALUES ("9", "Corner Shop", "Residential", "South", "1000");
INSERT INTO "shop" VALUES ("10", "Everything Store", "Mall", "East", "5000");
INSERT INTO "shop" VALUES ("11", "Mini Mart", "Village", "West", "2000");
INSERT INTO "shop" VALUES ("12", "Super Bargain", "Outskirts", "Central", "20000");
INSERT INTO "shop" VALUES ("13", "Discount Depot", "Market Square", "North", "2800");
INSERT INTO "shop" VALUES ("14", "Prime Products", "Business Park", "South", "11000");
INSERT INTO "shop" VALUES ("15", "Local Goods", "Main Street", "East", "2900");
INSERT INTO "hiring" VALUES ("1", "101");
INSERT INTO "hiring" VALUES ("2", "102");
INSERT INTO "hiring" VALUES ("3", "103");
INSERT INTO "hiring" VALUES ("4", "104");
INSERT INTO "hiring" VALUES ("5", "105");
INSERT INTO "hiring" VALUES ("6", "106");
INSERT INTO "hiring" VALUES ("7", "107");
INSERT INTO "hiring" VALUES ("8", "108");
INSERT INTO "hiring" VALUES ("9", "109");
INSERT INTO "hiring" VALUES ("10", "110");
INSERT INTO "hiring" VALUES ("11", "111");
INSERT INTO "hiring" VALUES ("12", "112");
INSERT INTO "hiring" VALUES ("13", "113");
INSERT INTO "hiring" VALUES ("14", "114");
INSERT INTO "hiring" VALUES ("15", "115");
INSERT INTO "hiring" VALUES ("1", "116");
INSERT INTO "hiring" VALUES ("2", "117");
INSERT INTO "hiring" VALUES ("3", "118");
INSERT INTO "hiring" VALUES ("4", "119");
INSERT INTO "hiring" VALUES ("5", "120");