News Archives:

SELECT DISTINCT YEAR(post_date), MONTH(post_date) FROM b2posts WHERE post_date < '2022-05-25 18:02:09' AND post_category > 0 ORDER BY post_date DESC
Expression #1 of ORDER BY clause is not in SELECT list, references column 'mmshost_b2.b2posts.post_date' which is not in SELECT list; this is incompatible with DISTINCT