Syntax error, unexpected token ), near to ' ', when parsing: SELECT a.* ,t.* FROM \Blog\Models\VisaArticle a, \Blog\Models\VisaType t WHERE a.ar_type_id = t.type_id AND a.ar_id IN() (136)