Linky MHD

Linka smer

SELECT zastavky.id,zastavky.zastavka FROM linky JOIN zastavky ON zastavky.id = linky.zastavky_id WHERE linkysmery_id = AND linky.active = 1 ORDER BY linky.poradie
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 linky.active = 1 ORDER BY linky.poradie' at line 1