SQL语句出错:select count(*) as row_count from products where 1 and (CateId in(404) and (Attr like '%"231":[%"4"%]%' or Attr like '%"231":[%"21"%]%' ) and (Attr REGEXP '"231":\[[0-9\,"]*"(4|21)"[0-9\,"]*\]' ) and ((SoldOut=0 and IsSoldOut=0) or (SoldOut=0 and IsSoldOut=1 and 1714361020 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 '' at line 1