Question: Consider the Relational Database: STUDENT [ sID , sName, GPA, sizeHS] APPLY [ sID , cName , Major, Decision] COLLEGE [ CName , State] where

Consider the Relational Database: STUDENT [sID, sName, GPA, sizeHS] APPLY [ sID, cName, Major, Decision] COLLEGE [CName, State]

where APPLY.sID REFERENCES STUDENT.sID and APPLY.cName REFERENCES COLLEGE.CName

Using SQL queries to find:

a. The list of students who applied for at least all the colleges that the student sID = "2" did (using division or double negation).

b. The list of colleges that all the students in the STUDENT table applied in.

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!