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_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", "Computer Networks");
INSERT INTO "Courses" VALUES ("4", "English Literature");
INSERT INTO "Courses" VALUES ("5", "Data Structures and Algorithms");
INSERT INTO "Courses" VALUES ("6", "History of Art");
INSERT INTO "Courses" VALUES ("7", "Operating Systems");
INSERT INTO "Courses" VALUES ("8", "Philosophy of Science");
INSERT INTO "Degree_Programs" VALUES ("1", "Bachelor of Science in Computer Science");
INSERT INTO "Degree_Programs" VALUES ("2", "Bachelor of Arts in History");
INSERT INTO "Degree_Programs" VALUES ("3", "Master of Science in Data Analytics");
INSERT INTO "Degree_Programs" VALUES ("4", "Bachelor of Arts in English Literature");
INSERT INTO "Degree_Programs" VALUES ("5", "Bachelor of Science in Information Technology");
INSERT INTO "Departments" VALUES ("1", "The Computer Science Department", "Focuses on computing, programming, and software development.");
INSERT INTO "Departments" VALUES ("2", "Mathematics Department", "Dedicated to pure and applied mathematics research and education.");
INSERT INTO "Departments" VALUES ("3", "Department of History", "Covers historical studies from ancient to modern times.");
INSERT INTO "Departments" VALUES ("4", "Department of Computer Engineering", "Specializes in hardware and software integration.");
INSERT INTO "Departments" VALUES ("5", "Philosophy Department", "Explores philosophical theories and critical thinking.");
INSERT INTO "Departments" VALUES ("6", "Department of Theoretical Computer Science", "Researches computational theory and algorithms.");
INSERT INTO "Departments" VALUES ("7", "Department of Art and Design", "Focuses on visual arts and creative design.");
INSERT INTO "Departments" VALUES ("8", "Department of The Computer Applications", "Dedicated to practical applications of computer technology.");