- 号码 套餐资费 卡费 话费 操作
- 号码 套餐资费 卡费 话费 操作
MySQL Query : SELECT COUNT(*) AS num FROM `sylhao`.`cms_haoma` WHERE `status` = '99' AND haoma not like '%4%' AND AND haoma like '%9%9%9%9%' AND kafei >= 1000 and kafei <= 2000 AND floor(mid(right(haoma,4),1,2)) = 09 and floor(mid(right(haoma,2),1,2)) <= 31 AND (
( floor(mid(haoma,2,3)) mod 111 = 0 and floor(mid(haoma,4,1))<>floor(mid(haoma,5,1)) )
or ( floor(mid(haoma,3,3)) mod 111 = 0 and floor(mid(haoma,5,1))<>floor(mid(haoma,6,1)) and floor(mid(haoma,3,1))<>floor(mid(haoma,2,1)) )
or ( floor(mid(haoma,4,3)) mod 111 = 0 and floor(mid(haoma,6,1))<>floor(mid(haoma,7,1)) and floor(mid(haoma,4,1))<>floor(mid(haoma,3,1)) )
or ( floor(mid(haoma,5,3)) mod 111 = 0 and floor(mid(haoma,7,1))<>floor(mid(haoma,8,1)) and floor(mid(haoma,5,1))<>floor(mid(haoma,4,1)) )
or ( floor(mid(haoma,6,3)) mod 111 = 0 and floor(mid(haoma,8,1))<>floor(mid(haoma,9,1)) and floor(mid(haoma,6,1))<>floor(mid(haoma,5,1)) )
or ( floor(mid(haoma,7,3)) mod 111 = 0 and floor(mid(haoma,9,1))<>floor(mid(haoma,10,1)) and floor(mid(haoma,7,1))<>floor(mid(haoma,6,1)) )
or ( floor(mid(haoma,8,3)) mod 111 = 0 and floor(mid(haoma,10,1))<>floor(mid(haoma,11,1)) and floor(mid(haoma,8,1))<>floor(mid(haoma,7,1)) )
or ( floor(mid(haoma,9,3)) mod 111 = 0 and floor(mid(haoma,9,1))<>floor(mid(haoma,8,1)) )
) LIMIT 1
MySQL Error : 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 'AND haoma like '%9%9%9%9%' AND kafei >= 1000 and kafei <= 2000 AND floor(mid(rig' at line 1
MySQL Errno : 1064
Message : 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 'AND haoma like '%9%9%9%9%' AND kafei >= 1000 and kafei <= 2000 AND floor(mid(rig' at line 1
MySQL Error : 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 'AND haoma like '%9%9%9%9%' AND kafei >= 1000 and kafei <= 2000 AND floor(mid(rig' at line 1
MySQL Errno : 1064
Message : 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 'AND haoma like '%9%9%9%9%' AND kafei >= 1000 and kafei <= 2000 AND floor(mid(rig' at line 1