MySQL Error!
------------------------

SELECT * FROM tour_shanyoma WHERE category_prikey= AND status='L' AND admin_prikey = 64 ORDER BY prikey DESC

The Error returned was:

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 'AND status='L' AND admin_prikey = 64 ORDER BY prikey DESC' at line 1

Error Number:

1064