SQL Assignment - Wishlist
SQL Assignment - Wishlist
Q1. Produce a combined table in which each student is combined with every other
application.
Ans.
Q2. Give Student ID, name, GPA and name of college and major each student applied
to.
Ans.
Q3. Find details of applications who applied to California State.
Ans.
Q4. IDs, name, GPA of students and name of college with GPA > 3.7 applying to
Stanford
Ans.
Q5. Find detail of Student who apply to CS major and their application are rejected
Ans.
Q6. Find detail of student and application who applied to colleges at New York
Ans.
Q7. Find detail of student who have not applied to any of college
Ans.
Q10. Find the name and GPA of applicants who apply to any college whose enrollment
is not more than 25000.
Ans.
Q11. Find a pair of students (sID) having the same GPA. (each pair should occur just
once in result
Ans.
Q12. For every unique cName, count the number of students who scored <3 GPA and
who scored >= 3 GPA in 2 separate columns
Ans.