a guest Dec 9th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- SELECT * FROM comments LEFT JOIN authors ON authors.id = comments.author_id AND authors.is_moderator = 1
- d. SELECT * FROM comments LEFT JOIN authors ON authors.id = comments.author_id WHERE authors.is_moderator = 1
RAW Paste Data