Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed SQL Reporting by Example!
You have completed SQL Reporting by Example!
Preview
How many students are in each grade? And how many 6th graders do you think they'll have next year?
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
But unfortunately they just got
a call from the fire department and
0:00
they`re worried about
the school`s capacity numbers.
0:00
They`re fine for this year but
0:02
the fire department thinks it`s possible
there will be too many students next year.
0:04
Could you find out how many
students are in each grade?
0:09
And then use that data to predict how many
sixth graders they'll have next year?
0:11
To figure out how many
students are in each grade,
0:16
we'll need to use our
first GROUP BY clause.
0:19
So let's start by selecting
everything from STUDENTS.
0:21
And luckily we've got a GRADE column.
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up