SQL语句出错:select count(*) as row_count from products where 1 and CateId not in(400,477,509,527,624,625,626,536,612,613,614,615,616,642,643,644,647,639,648,650,651,657,666,673,694,702,716,726,727,728,729,732,786,802) and ((SoldOut=0 and IsSoldOut=0) or (SoldOut=0 and IsSoldOut=1 and 1716456806 between SStartTime and SEndTime)) and shop_a_product = 1 and (Attr like '%"185":[%"11"%]%' and Attr like '%"208":[%"46"%]%' or Attr like '%"208":[%"28"%]%' and Attr like '%"209":[%"5"%]%' ) and (Attr REGEXP '"185":\[[0-9\,"]*"(11)"[0-9\,"]*\]' and Attr REGEXP '"208":\[[0-9\,"]*"(46|28)"[0-9\,"]*\]' and Attr REGEXP '"209":\[[0-9\,"]*"(5)"[0-9\,"]*\]' ) and CateId in (367,386,120,401,402,699,700,701,409,363,398,399,485,586,379,385,387,389,516,524,502,521,523,525,539,697,681,364,541,547,789,471,790,466,467,468,470,472,473,474,475,476,788,510,532,526,530,543,544,545,546,636,645,704,792,793,808,531,807,809,597,803,804,805,677,773,378,487,489,497,537,583,687,776,777,779,780,781,778,463,464,491) and (CateId='409' or CateId in(select CateId from products_category where UId like '0,409,%') or (ExtCateId like '%,363,%' or ExtCateId like '%,364,%' or ExtCateId like '%,379,%' or ExtCateId like '%,385,%' or ExtCateId like '%,387,%' or ExtCateId like '%,389,%' or ExtCateId like '%,398,%' or ExtCateId like '%,399,%' or ExtCateId like '%,471,%' or ExtCateId like '%,485,%' or ExtCateId like '%,502,%' or ExtCateId like '%,516,%' or ExtCateId like '%,521,%' or ExtCateId like '%,523,%' or ExtCateId like '%,524,%' or ExtCateId like '%,525,%' or ExtCateId like '%,536,%' or ExtCateId like '%,539,%' or ExtCateId like '%,541,%' or ExtCateId like '%,547,%' or ExtCateId like '%,586,%' or ExtCateId like '%,681,%' or ExtCateId like '%,697,%' or ExtCateId like '%,789,%' or ExtCateId like '%,790,%' or ExtCateId like '%,802,%' or ExtCateId like '%,409,%'))
错误代码:#2006 - MySQL server has gone away