Question: Can I get help with this question? The Figure below shows the database structure and a few sample data for such a database. Question: Write

Can I get help with this question?

The Figure below shows the database structure and a few sample data for such a database.

Can I get help with this question? The Figure below shows the

Question: Write SQL statement for each of the following queries on the database schema attached in this Figure. Please label each of your SQL statements according to their appropriate number.

1) Retrieve the names of all senior students (Class = 4) majoring in 'CS' (computer science)

2) Retrieve the names of all courses taught by Professor King in 2007 and 2008.

3) Insert a new studnet in the database.

4) Chane the class of student 'Smith' to 2.

5) Delete the record for the student whose name is 'Smith' and student number is 17.

GRADE REPORT STUDENT Name Student number Class Smith Brown Major CS CS 17 112 119 85 92 102 135 17 8 COURSE Course name Course number Credit hours Department PREREQUISITE Intro to Computer Science CS1310 Data Structures Discrete Mathematics Database CS CS MATH CS 4 CS3320 MATH2410 CS3380 CS3380 CS3380 CS3320 CS3320 MATH2410 CS1310 SECTION Section identifier Course number Semester Year Instructor Fall Fall Spring King 85 92 102 112 119 135 MATH2410 CS1310 CS3320 MATH2410 CS1310 CS3380 07 07 08 08 Chang 08 Anderson 08 Knuth Figure 1: A database that stores student and course information Fall Fall Stone

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!