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", "Operating Systems");
INSERT INTO "Courses" VALUES ("4", "Database Management Systems");
INSERT INTO "Courses" VALUES ("5", "Computer Networks");
INSERT INTO "Courses" VALUES ("6", "Artificial Intelligence");
INSERT INTO "Courses" VALUES ("7", "Web Development");
INSERT INTO "Courses" VALUES ("8", "Calculus I");
INSERT INTO "Courses" VALUES ("9", "Linear Algebra");
INSERT INTO "Courses" VALUES ("10", "Physics I");
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", "Ph.D. in Electrical Engineering", "Research-focused program in electrical and computer engineering.");
INSERT INTO "Degree_Programs" VALUES ("4", "Associate of Arts in General Studies", "A foundational program for transfer to a four-year institution.");
INSERT INTO "Degree_Programs" VALUES ("5", "Bachelor of Arts in English Literature", "Study of classic and contemporary literature.");
INSERT INTO "Departments" VALUES ("1", "Department of Computer Science", "This department focuses on the computer and information technology.");
INSERT INTO "Departments" VALUES ("2", "Department of Electrical Engineering", "This department covers electrical and computer engineering principles.");
INSERT INTO "Departments" VALUES ("3", "Department of Mathematics", "This department provides foundational knowledge in mathematics.");
INSERT INTO "Departments" VALUES ("4", "Department of Physics", "This department explores the fundamental laws of the universe.");
INSERT INTO "Departments" VALUES ("5", "Department of English", "This department offers studies in language and literature.");
INSERT INTO "Departments" VALUES ("6", "Department of the Computer Engineering", "This department specializes in the design of computer hardware and software.");
INSERT INTO "Departments" VALUES ("7", "Department of Information Technology", "This department deals with the computer systems and software applications.");