News Archives:

SELECT DISTINCT YEAR(post_date), MONTH(post_date) FROM b2posts WHERE post_date < '2021-10-22 08:45:34' 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