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 Footwear'\x0A\x09\x09GROUP BY e_state\x0A\x09\x09ORDER BY COUNT( * ) DESC' at line 3