Skip to content

Instantly share code, notes, and snippets.

@toyeiei
Last active November 8, 2018 02:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toyeiei/d6ad7dc36c624befa9aa03771b5d8e61 to your computer and use it in GitHub Desktop.
Save toyeiei/d6ad7dc36c624befa9aa03771b5d8e61 to your computer and use it in GitHub Desktop.
SQL for Beginner - BASIC JOIN
-- JOIN two tables: album and artist
SELECT *
FROM artists
JOIN albums
ON artists.artistid = albums.artistid;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment