Last active
January 2, 2020 16:24
Joins in SQL- INNER JOINS: complete code for joining Person, Grade and Activity Tables (refactored)
This file contains 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
SELECT name, score, activity, a.year | |
FROM person AS p | |
INNER JOIN grade AS g | |
USING(id) | |
INNER JOIN activity AS a | |
USING(id, year) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment