У меня есть такая таблица
|post_date |post |value |
---------------------------------
|2019-11-05|post |text |
|2019-11-05|post |text |
|2019-11-05|post |text |
|2019-11-05|post |text |
|2019-11-06|post |text |
|2019-11-06|post |text |
|2019-11-07|post |text |
|2019-11-08|post |text |
|2019-11-08|post |text |
|2019-11-08|post |text |
|2019-11-08|post |text |
|2019-11-08|post |text |
|2019-11-08|post |text |
Я пытался выбрать вот так
SELECT post_date, count(*) as post FROM myTable GROUP BY post_date ORDER BY post_date ASC LIMIT 3
она покажет вот так
|post_date |post |
-----------------------
|2019-11-05|4 |
|2019-11-06|2 |
|2019-11-07|1 |
что мне нужновот так вот
|post_date |post |
-----------------------
|2019-11-06|2 |
|2019-11-07|1 |
|2019-11-08|6 |
выглядит как результат предела 3 сзади. он получит последние 3 результата из заказа, а не самый старый