Database error: Invalid SQL: SELECT
partner_id as id,mesto,nazev,adresa,psc,IF(pristup_prodejce='1','ANO','NE') as pristup_pro_prodejce, 1 as typ
FROM
zo_recos_partner as zrp
WHERE
kraj_id= AND
typ_partner_id IN (3,4) AND
reg_cislo_prefix_id IN (4,5) AND
(1)
MySQL Error: 1064 (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
typ_partner_id IN (3,4) AND
reg_cislo_prefix_id IN (4,5) AND
' at line 6)
Session halted.