In: Computer Science
Describe the functions provided by a relational database that could be used to record courses taken by university students in order to manage scheduling and preparing transcripts.
Please respond with 200-250 words. Thanks
The functions provided by a relational database that could be used to record courses taken by university students i order to manage scheduling and preparing transcripts are:
CREATE DATABASE University;
USE University;
CREATE TABLE COURSES( ID INT NOT NULL, NAME VARCHAR (20) NOT NULL, SCHEDULE DATE NOT NULL, PRIMARY KEY (ID) );
INSERT INTO COURSES(ID,NAME,Schedule) VALUES (1, 'BCA', 'Jan-10-2017' );
INSERT INTO COURSES(ID,NAME,Schedule) VALUES (1, 'MCA', 'Jan-11-2017' );
INSERT INTO COURSES(ID,NAME,Schedule) VALUES (1, 'BTech', 'Jan-18-2017' );
INSERT INTO COURSES(ID,NAME,Schedule) VALUES (1, 'MTech', 'Jan-20-2017' );
INSERT INTO COURSES(ID,NAME,Schedule) VALUES (1, 'BCA', 'Jan-16-2017' );
INSERT INTO COURSES(ID,NAME,Schedule) VALUES (1, 'MCA', 'Jan-25-2017' );
SELECT * FROM COURSES
WHERE NAME LIKE 'MC%';