SELECT ROUND(AVG(prezzo)) AS media, FLOOR(MIN(prezzo)) AS minimo, CEIL(MAX(prezzo)) AS massimo FROM abb_articoli_view WHERE status = 1 AND (stagionalita = 'PE14' OR stagionalita = 'C') AND genere IN ('U','X') AND marca = 'Jonny's'
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 's'' at line 1