Syntax error, unexpected token ), near to ' ORDER BY status desc, sort desc, ctime desc LIMIT :APL0: OFFSET :APL1:', when parsing: SELECT [Liuxue\Wenda\Models\Topic].* FROM [Liuxue\Wenda\Models\Topic] WHERE topicType = 1 AND status in (1,2) AND (title like '%SAT%') OR title like '%ACT%') ORDER BY status desc, sort desc, ctime desc LIMIT :APL0: OFFSET :APL1: (228)