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 "Sections" (
"section_id" INT,
"section_name" VARCHAR(255),
"section_description" VARCHAR(255),
PRIMARY KEY ("section_id")
);





INSERT INTO "Courses" VALUES ("1", "Mathematics", "Study of numbers and shapes");
INSERT INTO "Courses" VALUES ("2", "History", "Study of past events");
INSERT INTO "Courses" VALUES ("3", "Biology", "Study of living organisms");
INSERT INTO "Courses" VALUES ("4", "Computer Science", "Study of computation and information");
INSERT INTO "Courses" VALUES ("5", "Art", "Study of creative expression");
INSERT INTO "Sections" VALUES ("101", "Zoology", "Section focused on animal biology");
INSERT INTO "Sections" VALUES ("102", "World History", "Section covering global historical events");
INSERT INTO "Sections" VALUES ("103", "Algebra", "Section focused on algebraic concepts");
INSERT INTO "Sections" VALUES ("104", "Painting", "Section focused on painting techniques");
INSERT INTO "Sections" VALUES ("105", "Data Structures", "Section focused on data organization");
INSERT INTO "Sections" VALUES ("106", "Botany", "Section focused on plant biology");
INSERT INTO "Sections" VALUES ("107", "Ancient Civilizations", "Section focused on early human societies");
INSERT INTO "Sections" VALUES ("108", "Calculus", "Section focused on calculus concepts");
INSERT INTO "Sections" VALUES ("109", "Digital Art", "Section focused on digital creative arts");
INSERT INTO "Sections" VALUES ("110", "Ethics", "Section focused on moral philosophy");