Syntax error, unexpected token AND, near to ' from_city=1 and to_id=22 and to_city=0 LIMIT :APL0:', when parsing: SELECT [ToursFrom].* FROM [ToursFrom] WHERE from_id= and from_city=1 and to_id=22 and to_city=0 LIMIT :APL0: (108)