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 Programming");
INSERT INTO "Courses" VALUES ("2", "Data Structures and Algorithms");
INSERT INTO "Courses" VALUES ("3", "Database Management Systems");
INSERT INTO "Courses" VALUES ("4", "Operating Systems");
INSERT INTO "Courses" VALUES ("5", "Computer Networks");
INSERT INTO "Courses" VALUES ("6", "Calculus I");
INSERT INTO "Courses" VALUES ("7", "Linear Algebra");
INSERT INTO "Courses" VALUES ("8", "Introduction to Psychology");
INSERT INTO "Courses" VALUES ("9", "Art History");
INSERT INTO "Courses" VALUES ("10", "Web Development Fundamentals");
INSERT INTO "Degree_Programs" VALUES ("1", "Bachelor of Science in Computer Science", "A comprehensive program covering all aspects of computer science.");
INSERT INTO "Degree_Programs" VALUES ("2", "Master of Science in Data Science", "Advanced studies in data analysis, machine learning, and statistics.");
INSERT INTO "Degree_Programs" VALUES ("3", "Bachelor of Arts in Psychology", "Focuses on human behavior and mental processes.");
INSERT INTO "Degree_Programs" VALUES ("4", "Ph.D. in Electrical Engineering", "Research-oriented program in electrical and computer engineering.");
INSERT INTO "Degree_Programs" VALUES ("5", "Associate of Science in Information Technology", "Prepares students for entry-level IT positions.");
INSERT INTO "Degree_Programs" VALUES ("6", "Bachelor of Science in Software Engineering", "Specialized program for developing robust software systems.");
INSERT INTO "Departments" VALUES ("1", "Computer Science Department", "Responsible for all computer-related academic programs and research.");
INSERT INTO "Departments" VALUES ("2", "Department of Mathematics", "Offers courses and degrees in pure and applied mathematics.");
INSERT INTO "Departments" VALUES ("3", "Department of Psychology", "Focuses on the scientific study of mind and behavior.");
INSERT INTO "Departments" VALUES ("4", "Electrical Engineering Department", "Covers electrical, electronic, and computer engineering disciplines.");
INSERT INTO "Departments" VALUES ("5", "Department of Information Systems", "Manages programs related to information technology and systems.");
INSERT INTO "Departments" VALUES ("6", "Department of Arts and Humanities", "Offers a wide range of courses in arts, literature, and philosophy.");
INSERT INTO "Departments" VALUES ("7", "Department of Business Administration", "Provides education in various business fields.");
INSERT INTO "Departments" VALUES ("8", "Department of Computer Engineering", "Focuses on the design and development of computer hardware and software.");