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
Find out how Jefferson Middle School structures their database!
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
So lets take a minute and see what tables
we'll be using, and how they fit together.
0:00
The database at Jefferson Middle School
contains seven tables.
0:02
The first table you'll need to
know about is the STUDENTS table.
0:05
Which contains an ID primary key,
and then the first and
0:08
last names of the student,
followed by the student's grade.
0:11
Next is the TEACHERS table,
which contains an ID primary key and
0:15
then the teacher's first and last names.
0:19
After that, we've got the SUBJECTS table,
0:22
which contains the different subjects,
like math and science.
0:24
This table contains an ID primary key,
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