error:ERROR: syntax error at or near "and" LINE 1: ... and poicheck.poi_id=562 and poicheck.race_id= and xstuse... ^