Question: Group By : Using the database provided, Write and Execute SQL SELECT statements, using GROUP BY, to get the following information: Group By : How
Group By : Using the database provided, Write and Execute SQL SELECT statements, using GROUP BY, to get the following information:
Group By:
How many classes are scheduled in each room?
How many sections of each course are there being taught?
Which courses have only 1 section being taught?
What is the avg gpa for all students from each different state?
Which states have an avg gpa higher than 3.0?
How many courses is each instructor teaching?
Do we have more 3 credit hour courses or 5 credit hour courses.(use Group by to answer this question)
How many instructors do we have from each state?
Same as #8 above, but only list the states that have 3 or more instructors.
How many students are there from each state?
Same as #10 above, but only list the states that have 2 or more students.
USE the StudentSchedule Table for the last questions!
How many students are there in each each Section being taught?
Which Sections have less than 3 students?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
