Question: SQL This database has 3 tables Student(StudentID, Name, BirthDate, Address, GPA) Course(CourseID, Name, StartDate, EndDate, Credit, Instructor) Registration(StudentID, CourseID, LetterGrade) Write SQL queries for following

SQL

This database has 3 tables Student(StudentID, Name, BirthDate, Address, GPA) Course(CourseID, Name, StartDate, EndDate, Credit, Instructor) Registration(StudentID, CourseID, LetterGrade)

Write SQL queries for following tasks:

- List all students received grade `A` in that course - List each grade and the number of students receiving that grade in that course (i.e. how many students get an `A`, how many students get a `B`...) - List each course and its number of registered students sorted descendingly - List each instructor with the number of courses he/she has taught and their total credits - List all instructors who teaches large classes (i.e. at least a course with at least 50 students) - List each student with the number of courses he/she has registered and their total credits

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!