Question: Specify the following queries in SQL on the database schema of Figure 1 ( a ) [ 7 marks ] For each department in the
Specify the following queries in SQL on the database schema of Figure
a marks For each department in the university that has more than students enrolled on it get the name
of the department and the number of students enrolled in this department.
b marks Retrieve the names of students who took all the courses taught by the instructor whose name is
Smith.
c marks Retrieve the names of all students who have two majors ie double major students
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
