Your question is a bit ambiguous. Two possibilities are possible:
You want to get only a part of the results from the database, for example, from the 5th to the 10th:
SELECT * FROM `posts` ORDER BY `date` DESC LIMIT 6 OFFSET 4
which will skip the first 4 results and give you the next 6 results (starting from the 5th from the original set and ending with the 10th from the original set).
You need results with specific identifiers between 5(inclusive) and 10(inclusive):
SELECT * FROM `posts` WHERE `id` BETWEEN 5 AND 10 ORDER BY `date` DESC
( , ):
SELECT * FROM `posts` WHERE `id` IN (5,6,7,8,9,10) ORDER BY `date` DESC
- "" .