ERROR:  syntax error at or near ")"
LINE 1: ...op,yer from ewf.marxist_coverpage where id not in() order by...
                                                             ^

select id,nam,to_char(dte,'Month') dte,crop,yer from ewf.marxist_coverpage where id not in() order by id desc limit 12