Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'aptosid.z_news.pn_from' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by SELECT pn_from FROM z_news WHERE (pn_from < '2024-12-01 01:24:08' AND pn_published_status = '0') GROUP BY EXTRACT(YEAR_MONTH FROM pn_from) ORDER BY pn_from DESC News archive :: aptosid.com :: aptosid - Debian hot and spicy!