SQL语句出错:select count() as row_count from `products` where 1 and Attr REGEXP '"217":\[[0-9\,"]*"(7)"[0-9\,"]*\]' and Attr REGEXP '"218":\[[0-9\,"]*"(19|15)"[0-9\,"]*\]' and Attr REGEXP '"216":\[[0-9\,"]*"(18|4|11)"[0-9\,"]*\]' and Attr REGEXP '"101":\[[0-9\,"]*"(12)"[0-9\,"]*\]' and Attr REGEXP '"227":\[[0-9\,"]*"(9)"[0-9\,"]*\]' and (CateId in(select CateId from products_category where UId like '0,387,%') or CateId='387' or (ExtCateId like '%,244,%' or ExtCateId like '%,264,%' or ExtCateId like '%,265,%' or ExtCateId like '%,269,%' or ExtCateId like '%,278,%' or ExtCateId like '%,375,%' or ExtCateId like '%,376,%' or ExtCateId like '%,381,%' or ExtCateId like '%,382,%' or ExtCateId like '%,383,%' or ExtCateId like '%,384,%' or ExtCateId like '%,412,%' or ExtCateId like '%,436,%' or ExtCateId like '%,453,%' or ExtCateId like '%,487,%' or ExtCateId like '%,387,%')) and ((SoldOut=0 and IsSoldOut=0) or (SoldOut=0 and IsSoldOut=1 and 1725853544 between SStartTime and SEndTime))
错误代码:#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') as row_count from `products` where 1 and Attr REGEXP '"217":\[[0-9\,"]*"(7)"[0' at line 1