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

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

CREATE TABLE "Sections" (
"section_id" INT,
"section_name" VARCHAR(255),
"section_description" VARCHAR(255),
PRIMARY KEY ("section_id")
);





INSERT INTO "Courses" VALUES ("101", "Calculus I", "Introduction to differential and integral calculus");
INSERT INTO "Courses" VALUES ("102", "English Literature", "Study of classic and modern literary works");
INSERT INTO "Courses" VALUES ("103", "Physics I", "Fundamentals of mechanics and thermodynamics");
INSERT INTO "Courses" VALUES ("104", "Art History", "Overview of art movements from Renaissance to Modern");
INSERT INTO "Courses" VALUES ("105", "Computer Science I", "Introduction to programming and algorithms");
INSERT INTO "Degree_Programs" VALUES ("1", "Bachelor of Science in Mathematics");
INSERT INTO "Degree_Programs" VALUES ("2", "Bachelor of Arts in English");
INSERT INTO "Degree_Programs" VALUES ("3", "Bachelor of Science in Physics");
INSERT INTO "Degree_Programs" VALUES ("4", "Bachelor of Arts in Fine Arts");
INSERT INTO "Degree_Programs" VALUES ("5", "Bachelor of Science in Computer Science");
INSERT INTO "Sections" VALUES ("201", "Mathematics Section", "Covers all math related courses and research");
INSERT INTO "Sections" VALUES ("202", "Humanities Section", "Includes literature, history, and philosophy courses");
INSERT INTO "Sections" VALUES ("203", "Science Section", "Focuses on physics, chemistry, and biology courses");
INSERT INTO "Sections" VALUES ("204", "Arts Section", "Dedicated to visual and performing arts courses");
INSERT INTO "Sections" VALUES ("205", "Computer Science Section", "Offers courses in programming, systems, and theory");
INSERT INTO "Sections" VALUES ("206", "Interdisciplinary Section", "Combines courses from multiple disciplines for broad learning");
INSERT INTO "Sections" VALUES ("207", "Graduate Studies Section", "Manages graduate level courses and research programs");