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 "Addresses" (
"address_id" INT,
"city" VARCHAR(255),
"zip_postcode" VARCHAR(20),
PRIMARY KEY ("address_id")
);

CREATE TABLE "Departments" (
"department_id" INT,
"department_name" VARCHAR(255),
PRIMARY KEY ("department_id")
);

CREATE TABLE "Students" (
"student_id" INT,
"cell_mobile_number" VARCHAR(40),
"email_address" VARCHAR(40),
PRIMARY KEY ("student_id")
);





INSERT INTO "Addresses" VALUES ("1", "Port Chelsea", "10012");
INSERT INTO "Addresses" VALUES ("2", "Port Chelsea", "10013");
INSERT INTO "Addresses" VALUES ("3", "Greenwich Village", "10014");
INSERT INTO "Addresses" VALUES ("4", "Tribeca", "10007");
INSERT INTO "Addresses" VALUES ("5", "Soho", "10002");
INSERT INTO "Addresses" VALUES ("6", "Port Chelsea", "10014");
INSERT INTO "Addresses" VALUES ("7", "Financial District", "10005");
INSERT INTO "Addresses" VALUES ("8", "Port Chelsea", "10012-001");
INSERT INTO "Addresses" VALUES ("9", "Chelsea", "10011");
INSERT INTO "Addresses" VALUES ("10", "Port Chelsea", "10012-002");
INSERT INTO "Departments" VALUES ("1", "Computer Science");
INSERT INTO "Departments" VALUES ("2", "Mathematics");
INSERT INTO "Departments" VALUES ("3", "Physics");
INSERT INTO "Departments" VALUES ("4", "History");
INSERT INTO "Departments" VALUES ("5", "Literature");
INSERT INTO "Students" VALUES ("1", "555-123-4567", "student1@example.com");
INSERT INTO "Students" VALUES ("2", "555-234-5678", "student2@example.com");
INSERT INTO "Students" VALUES ("3", "555-345-6789", "student3@example.com");
INSERT INTO "Students" VALUES ("4", "555-456-7890", "student4@example.com");
INSERT INTO "Students" VALUES ("5", "555-567-8901", "student5@example.com");
INSERT INTO "Students" VALUES ("6", "555-678-9012", "student6@example.com");
INSERT INTO "Students" VALUES ("7", "555-789-0123", "student7@example.com");
INSERT INTO "Students" VALUES ("8", "555-890-1234", "student8@example.com");
INSERT INTO "Students" VALUES ("9", "555-901-2345", "student9@example.com");
INSERT INTO "Students" VALUES ("10", "555-012-3456", "student10@example.com");