Yes, I am using MySQL, your query perfectly works... but could the same if I use a GROUP BY p_month, p_year ?
SELECT DISTINCT (YEAR(data_art)) as p_anno, (MONTH(data_art)) as p_mese FROM articoli GROUP BY p_mese,p_anno ORDER BY data_art DESC
Is there any difference ? Only a more complex query ?
😕