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 "course" (
"Course_ID" INT,
"Staring_Date" TEXT,
"Course" TEXT,
PRIMARY KEY ("Course_ID")
);

CREATE TABLE "teacher" (
"Teacher_ID" INT,
"Name" TEXT,
"Age" TEXT,
"Hometown" TEXT,
PRIMARY KEY ("Teacher_ID")
);





INSERT INTO "course" VALUES ("1", "2023-09-01", "Mathematics");
INSERT INTO "course" VALUES ("2", "2023-09-01", "Physics");
INSERT INTO "course" VALUES ("3", "2023-09-15", "Chemistry");
INSERT INTO "course" VALUES ("4", "2023-10-01", "Biology");
INSERT INTO "course" VALUES ("5", "2023-10-15", "Computer Science");
INSERT INTO "course" VALUES ("6", "2023-11-01", "History");
INSERT INTO "course" VALUES ("7", "2023-11-15", "Literature");
INSERT INTO "teacher" VALUES ("1", "Alice Smith", "35", "New York");
INSERT INTO "teacher" VALUES ("2", "Bob Johnson", "28", "Los Angeles");
INSERT INTO "teacher" VALUES ("3", "Charlie Brown", "42", "Chicago");
INSERT INTO "teacher" VALUES ("4", "Diana Prince", "25", "Miami");
INSERT INTO "teacher" VALUES ("5", "Eve Adams", "30", "Houston");
INSERT INTO "teacher" VALUES ("6", "Frank White", "25", "Seattle");
INSERT INTO "teacher" VALUES ("7", "Grace Lee", "50", "Boston");
INSERT INTO "teacher" VALUES ("8", "Henry King", "28", "Denver");
INSERT INTO "teacher" VALUES ("9", "Ivy Green", "25", "Portland");
INSERT INTO "teacher" VALUES ("10", "Jack Black", "32", "Austin");