Question: Write a SQL query to find the ID and name of each instructor who has given an 'A' grade in any course that they have
- Write a SQL query to find the ID and name of each instructor who has given an 'A' grade in any course that they have taught.
- Write a SQL query to find the ID and name of each instructor who has NEVER given an 'A' grade in any course that they have taught. (Instructors who have never taught a course trivially satisfy this condition and will appear in the results. That's OK, your friends want to avoid the "unknown" as well.)
- Write a SQL query to find the course_id of any courses which have been retaken by 1 or more students. In other words, a student has taken the same course more than once.
- Your friends like to sleep in. Write a SQL query to find the ID and title of each course in 'Comp. Sci.' that has had at least one section with afternoon hours (i.e. time_slot.start_hr >= 12). You should eliminate duplicates from the results, if there are any.
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
