Last active
December 1, 2015 03:21
-
-
Save zerothabhishek/2ad15c16de6f35d0a7a4 to your computer and use it in GitHub Desktop.
Sql left Join
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 posts.*, comments.* | |
FROM posts LEFT JOIN comments | |
ON posts.id = comments.post_id; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment