Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT entry.entryID,
- COUNT(comment.commentID) AS comments
- FROM wcf1_user_guestbook_entry entry
- LEFT JOIN wcf1_user_guestbook_comment comment
- ON (entry.entryID = comment.entryID)
- GROUP BY entry.entryID
Advertisement
Add Comment
Please, Sign In to add comment