ERROR: invalid input syntax for type date: "" LINE 1: ...enm from ewf.adilabad where torb = 'T' and dte ='' order b... ^
select id,title,etm,gst as story, h_poto as path, 'adilabad'::text as sitenm from ewf.adilabad where torb = 'T' and dte ='' order by id desc limit 1;