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