fbpx

Erro no banco de dados do WordPress: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DESC' at line 1]
SELECT YEAR(post_date) FROM nkb_posts WHERE post_type = 'publicacoes' AND post_status = 'publish' GROUP BY YEAR(post_date) DESC