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 "Courses" (
"course_id" INT,
"course_name" VARCHAR(255),
PRIMARY KEY ("course_id")
);

CREATE TABLE "Degree_Programs" (
"degree_program_id" INT,
"degree_summary_name" VARCHAR(255),
"degree_summary_description" VARCHAR(255),
PRIMARY KEY ("degree_program_id")
);

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





INSERT INTO "Courses" VALUES ("1", "Introduction to Computer Science");
INSERT INTO "Courses" VALUES ("2", "Advanced Mathematics");
INSERT INTO "Courses" VALUES ("3", "English Literature");
INSERT INTO "Courses" VALUES ("4", "Computer Networks");
INSERT INTO "Courses" VALUES ("5", "History of Art");
INSERT INTO "Courses" VALUES ("6", "Data Structures");
INSERT INTO "Courses" VALUES ("7", "Operating Systems");
INSERT INTO "Courses" VALUES ("8", "Philosophy");
INSERT INTO "Degree_Programs" VALUES ("1", "BSc Computer Science", "Bachelor of Science in Computer Science focusing on software development and algorithms");
INSERT INTO "Degree_Programs" VALUES ("2", "BA English", "Bachelor of Arts in English Literature and Language");
INSERT INTO "Degree_Programs" VALUES ("3", "BSc Mathematics", "Bachelor of Science in Mathematics with emphasis on applied math");
INSERT INTO "Degree_Programs" VALUES ("4", "BSc Computer Engineering", "Bachelor of Science in Computer Engineering focusing on hardware and software integration");
INSERT INTO "Degree_Programs" VALUES ("5", "BA History", "Bachelor of Arts in History and Cultural Studies");
INSERT INTO "Departments" VALUES ("1", "Computer Science", "Department focusing on computing, programming, and software engineering");
INSERT INTO "Departments" VALUES ("2", "Mathematics", "Department specializing in pure and applied mathematics");
INSERT INTO "Departments" VALUES ("3", "English", "Department dedicated to English language and literature studies");
INSERT INTO "Departments" VALUES ("4", "Computer Engineering", "Department focused on computer hardware, embedded systems, and electronics");
INSERT INTO "Departments" VALUES ("5", "History", "Department covering historical research and cultural heritage");