Created
December 12, 2017 11:46
-
-
Save dclarke-modus/df4f6dbb5b0c99158186da5b8a05ee84 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Table Students Table Class | |
id, name, class_id id, name | |
1, Dean, 1 1, Math | |
3, Shahib, 2 2, English | |
4, Chris, null 3, Science |
select s.name from Students s inner join Class c on s.class_id = c.id
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What would be outputted:
select s.name from Students s left join Class c on s.class_id = c.id