Guest User

Untitled

a guest
Jul 18th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. SELECT * FROM table
  2. WHERE table.id NOT IN
  3. (SELECT DISTINCT table_field
  4. FROM table
  5. WHERE table_field_id IS NOT NULL)
Add Comment
Please, Sign In to add comment