Last active
August 29, 2015 14:05
-
-
Save birchestx/f5b906adf5d47fda3323 to your computer and use it in GitHub Desktop.
find where database consistencies join table
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 c.ID, c.user_id | |
FROM carriers c | |
LEFT JOIN users u ON c.user_id = u.ID | |
WHERE u.ID IS NULL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment