Question: Specify the following queries in SQL on the database schema in Figure 1.2. a. Retrieve the names and major departments of all straight-A students (students
Specify the following queries in SQL on the database schema in Figure 1.2.
a. Retrieve the names and major departments of all straight-A students (students who have a grade of A in all their courses).
b. Retrieve the names and major departments of all students who do not have a grade of A in any of their courses.
*****This is exercise 7.6 from textbook "Fundamentals of Database Systems 7th Edition" by Elmasri and Navathe*****

STUDENT Name Student_numberClass Smith CS CS COURSE Course_name Course_number Credit hours Department Intro to Computer Science CS1310 Data Structures Discrete Mathematics CS3320 MATH2410 CS3380 CS CS MATH CS SECTION Section_identifier Course_numberSemester Year 85 92 102 112 119 135 MATH2410 CS1310 CS3320 MATH2410 CS1310 CS3380 07 King 07 Anderson 08 Knuth 08 08 Anderson 08 Stone Fall Spring Chang Fall GRADE REPORT 112 119 85 92 102 135 17 17 PREREQUISITE Course number CS3380 CS3380 CS3320 e number CS3320 MATH2410 CS1310
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
