Question: Write SQL Statements to do the following on the database schema shown in figure below. STIIDFNT GRADE REPORT PREREQUISITE (a) Insert a new course in



Write SQL Statements to do the following on the database schema shown in figure below. STIIDFNT GRADE REPORT PREREQUISITE (a) Insert a new course in the database. (2.5 points) (b) Change the grade of student 'Brown' on section 'MATH2410' to an ' 9 '. (2.5. points) (c) Find the courses where 'Brown has a grade equal or better than a C (Note, C is a string, and string are compared based on the alphabet order). (2.5 points) (d) Delete the record for the section whose course number is 'MATH2410' and instructor is chang. (2.5 points) (e) Retrieve the list with the student name, course name, section ID and the grade for all the sections where the instructor is King. (3 points) PREREQUISITE (a) Insert a new course in the database. (2.5 points) (b) Change the grade of student 'Brown' on section 'MATH2410' to an ' C '. (2.5 points) (c) Find the courses where 'Brown' has a grade equal or better than a C (Note, C is a string, and string are compared based on the alphabet order). (2.5 points) (d) Delete the record for the section whose course number is 'MATH2410' and instructor is Chang. (2.5 points) (e) Retrieve the list with the student name, course name, section ID and the grade for all the sections where the instructor is King . (3 points) (f) Retrieve the average credit hours for each department. ( 3 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
