ERROR: syntax error at or near "and"
LINE 1: ... '' as enam from ewf.maanavi a where a.subtyp = and a.id!=...
^
select a.id,a.title,a.etm::date as etm ,a.h_poto1 as path, substr(a.gst,1,300) as story, a.subtyp, '' as nam, '' as enam from ewf.maanavi a where a.subtyp = and a.id!= order by a.id desc limit 10
|