Syntax error, unexpected token ), near to ' ORDER BY score_cat LIMIT 100 OFFSET 0', when parsing: SELECT [categories].* FROM [InfoIsInfo\Models\Categories] AS [categories] WHERE id_cat IN() ORDER BY score_cat LIMIT 100 OFFSET 0 (129)