Question: Query 1 (2 pts) Find all courses that have no prerequisites. Output a one-column table with the titles of those courses. Write this query without
Query 1 (2 pts) Find all courses that have no prerequisites. Output a one-column table with the titles of those courses. Write this query without join or product.
Query 2 (2 pts) Find the prerequisites of Robotics. Output a one-column table with the titles of the prerequisites. Write your query without join or product.
Query 3 (2 pts) Find the advisor of Peltier. Output a one-column table with the name of the advisor. Write your query without join or product.
Query 4 (2 pts) Find all departments with the maximum budget.
Query 5 (2 pts) For each student, find the number of courses where she or he got an A grade. Output a table consisting of two columns: name of student, number of A grades. Write your query without join or product.
Query 6 (2 pts) For each course, find the number of students who took this course. Output a table consisting of two columns: title, number of students. Write your query without join or product.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
