ERROR: syntax error at or near "where" LINE 1: Select title as title from where id::text = '' ; ^
Select title as title from where id::text = '' ;
ERROR: syntax error at or near "where" LINE 1: ...to_char(etm,'Mon dd,YYYY') as etm, vdo_ebd from where id::... ^
select id,title,story,to_char(etm,'Mon dd,YYYY') as etm, vdo_ebd from where id::text = ''
ERROR: relation "a" does not exist LINE 1: SElect a.id,a.title,b.sitenm as section from a, ewf.story_t... ^
SElect a.id,a.title,b.sitenm as section from a, ewf.story_type b where a.typ = b.id and a.id::text != '' order by id desc limit 30 ;