- 号码 套餐资费 卡费 话费 操作
- 号码 套餐资费 卡费 话费 操作
MySQL Query : SELECT COUNT(*) AS num FROM `sylhao`.`cms_haoma` WHERE `status` = '99' AND haoma not like '%7%' AND AND instr(haoma,88) > 0 AND kafei >= 50000 AND right(haoma,4) >= 1980 and right(haoma,4) < 1990 AND floor(mid(right(haoma,4),1,2)) = 07 and floor(mid(right(haoma,2),1,2)) <= 31 AND (
( floor(mid(haoma,2,5)) mod 11111 = 0 and floor(mid(haoma,6,1))<>floor(mid(haoma,7,1)) )
or ( floor(mid(haoma,3,5)) mod 11111 = 0 and floor(mid(haoma,7,1))<>floor(mid(haoma,8,1)) and floor(mid(haoma,3,1))<>floor(mid(haoma,2,1)) )
or ( floor(mid(haoma,4,5)) mod 11111 = 0 and floor(mid(haoma,8,1))<>floor(mid(haoma,9,1)) and floor(mid(haoma,4,1))<>floor(mid(haoma,3,1)) )
or ( floor(mid(haoma,5,5)) mod 11111 = 0 and floor(mid(haoma,9,1))<>floor(mid(haoma,10,1)) and floor(mid(haoma,5,1))<>floor(mid(haoma,4,1)) )
or ( floor(mid(haoma,6,5)) mod 11111 = 0 and floor(mid(haoma,10,1))<>floor(mid(haoma,11,1)) and floor(mid(haoma,6,1))<>floor(mid(haoma,5,1)) )
or ( floor(mid(haoma,7,5)) mod 11111 = 0 and floor(mid(haoma,7,1))<>floor(mid(haoma,6,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 instr(haoma,88) > 0 AND kafei >= 50000 AND right(haoma,4) >= 1980 and right(' 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 instr(haoma,88) > 0 AND kafei >= 50000 AND right(haoma,4) >= 1980 and right(' 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 instr(haoma,88) > 0 AND kafei >= 50000 AND right(haoma,4) >= 1980 and right(' 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 instr(haoma,88) > 0 AND kafei >= 50000 AND right(haoma,4) >= 1980 and right(' at line 1