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 's Clothing - ATMs'\x0A\x09\x09GROUP BY e_state\x0A\x09\x09ORDER BY COUNT( * )...' at line 3