SQL语句出错:select count() as row_count from `products` where 1 and Attr REGEXP '"218":\[[0-9\,"]*"(18|17)"[0-9\,"]*\]' and Attr REGEXP '"217":\[[0-9\,"]*"(6|4)"[0-9\,"]*\]' and Attr REGEXP '"101":\[[0-9\,"]*"(4|7)"[0-9\,"]*\]' and Attr REGEXP '"216":\[[0-9\,"]*"(7|17|8)"[0-9\,"]*\]' and (CateId in(select CateId from products_category where UId like '0,360,247,%') or CateId='247' or (ExtCateId like '%,248,%' or ExtCateId like '%,535,%' or ExtCateId like '%,247,%')) and ((SoldOut=0 and IsSoldOut=0) or (SoldOut=0 and IsSoldOut=1 and 1725853369 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 '"218":\[[0-9\,"]*"(18|17' at line 1