SELECT * FROM posts GROUP BY year

SELECT * FROM posts GROUP BY year

2026 2
2025 5
2024 2