archives
SELECT DISTINCT YEAR(post_date), MONTH(post_date) FROM posts WHERE post_date < '2022-09-30 20:52:50' AND post_category > 0 ORDER BY post_date DESC Expression #1 of ORDER BY clause is not in SELECT list, references column 'cafelog_cafelogcom.posts.post_date' which is not in SELECT list; this is incompatible with DISTINCT