Question: Specify the following queries in SQL on the database schema of Figure 1.2. (a) Retrieve the names and major departments of all straight-A students (students
(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 any grade of A in any of their courses.
Step by Step Solution
3.48 Rating (168 Votes )
There are 3 Steps involved in it
a SELECT Name Major FROM STUDENT WHERE NOT EXISTS SE... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
888-CS-DB (2292).docx
120 KBs Word File
