Error!

MySQL Error: 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 'to-38' at line 1
SQL Statement: select * from categories where id=Random-slates-up-to-38