create table
Student table: (serial number, name, age, major)
create table s( sno INT(11) auto_increment, sname varchar(125), sage INT(11), sdept varchar(125), primary key(sno) );
Course Schedule: (serial number, course name)
create table c( cno INT (11) auto_increment, cname varchar(255), primary key (cno) );
Student curriculum relationship table: (serial number, student serial number, course program number, score)
create table sc( scno INT(11) auto_increment, sno INT(11), cno INT(11), grade INT(255), primary key(scno) );
Common single table query