CHybna nebo prazdna odpoved na dotaz k Databazi
SELECT e.*, a.occtyp_ID, a.hall_ID, o.txt as octyp, n.txt as nm, h.txt as hl from action a left join nd1 p on(a.hall_ID = p.id) left join stexts h ON (p.name = h.id and h.lang_ID = ) LEFT JOIN stexts n ON (a.name = n.id and n.lang_ID = ) left join occtyp t on (a.occtyp_ID = t.id) left join stexts o on (o.id = t.occtyp and o.lang_ID = ) , evnts e WHERE e.occ_ID = a.id and (e.den >= curdate()) and p.oblast in (1,8,15,14) AND a.occtyp_ID = 2 order by e.den ASC, e.cas ASC
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 ') LEFT JOIN stexts n ON (a.name = n.id and n.lang_ID = ) left join occtyp t on (' at line 1
|