To da ci 5 komentarzy do każdego posta.
SELECT p.*,
c.*
FROM Post p
LEFT JOIN
(
SELECT a.*
FROM Comments a
WHERE
(
SELECT COUNT(*)
FROM Comments b
WHERE a.Post_ID = b.Post_ID AND
a.ID <= b.ID
) <= 5
) c ON a.ID = c.Post_ID