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
Which students have Physical Education during first period?
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
were going to be sweaty all day from
having PE first thing in the morning.
0:00
Could you figure out how many students
have physical education during
0:01
first period?
0:04
For this query, just like the last query,
0:05
we'll need to start with
the STUDENTS table.
0:08
And then join through to a couple other
tables to be able to get all this
0:10
information.
0:13
So let's start by selecting
everything from the STUDENTS table.
0:15
And let's join it to the SCHEDULE table.
0:20
On STUDENTS.ID = SCHEDULE.STUDENT_ID.
0:26
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