ERROR: syntax error at or near ")" LINE 1: ...ildings.neighborhood_id WHERE (units.listing_id = ) AND (uni... ^