that's what I would think yet as soon as I answer a question only then it suddenly shows up
Anonymous
That would translate into SELECT posts.*, COUNT(answers.id) FROM posts LEFT JOIN answers ON answers.post_id = posts.id WHERE posts.deleted = 0 GROUP BY posts.id ORDER BY posts.date_created DESC