Erro ao selecionar produtos banner.
SELECT p.* FROM produto p WHERE p.cancelado = 'N' AND p.banner = 1 AND p.foto IS NOT NULL AND p.status = 'A' AND p.idloja = GROUP BY p.nome LIMIT 5
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 'GROUP BY p.nome LIMIT 5' at line 10