Can't execute query

select * from dep_shablonmodul, dep_modul 
where idshablon= and 
dep_shablonmodul.idmodul=dep_modul.idmodul

MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and dep_shablonmodul.idmodul=dep_modul.idmodul' at line 2

This script cannot continue, terminating.