SELECT t.id, t.image_address, t.kod, t.keszlet, a.ar, nl.name, nl.description, t.egyseg, t.gyarto, t.allapot, t.uj, t.eladott_darab FROM cubicfun_xy12_termek as t INNER JOIN cubicfun_xy12_termek_to_kategoria as ttk ON ttk.termek_id = t.id INNER JOIN cubicfun_xy12_arak as a ON t.id = a.termek_id LEFT JOIN cubicfun_xy12_nev_leiras as nl ON nl.termek_id = t.id WHERE t.status = 'igen' AND nl.language_id= 4 AND a.arforma_id = 2 AND t.keszlet > 0 ORDER BY t.eladott_darab DESC, nl.name ASC GROUP BY t.id LIMIT 0, 5
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'GROUP BY t.id LIMIT 0, 5' at line 10
Fjl: /home/m502870/public_html/3dpuzzlewebaruhaz/include/center/toplista.php sor: 64