-
-
Save codecademydev/96f0e504ba812a0df99fb7151e8f1974 to your computer and use it in GitHub Desktop.
Codecademy export
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
WITH table1 AS (SELECT id, | |
username, | |
place_id, | |
review_date, | |
rating, | |
note | |
FROM reviews | |
WHERE strftime("%Y", review_date) = "2020") | |
SELECT * | |
FROM places | |
JOIN table1 | |
ON places.id = reviews.place_id; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment