Can't execute query

SELECT * FROM obras where 
	cat= and subcat= order by autor,obra

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 'and subcat= order by autor,obra' at line 2

This script cannot continue, terminating.