像这种字段的怎么查询它们中间的号码
比方说 我输入TKGY888880012600 就能查到这条数据
前缀固定的么?
假设查询的号码 为888880012600
select * from table where CONVERT(replace(起始卡号, "TKGY", ""),SIGNED) < 查询的号码 and CONVERT(replace(截止卡号, "TKGY", ""),SIGNED) > 查询的号码
前缀固定的么?
假设查询的号码 为888880012600
select * from table where CONVERT(replace(起始卡号, "TKGY", ""),SIGNED) < 查询的号码 and CONVERT(replace(截止卡号, "TKGY", ""),SIGNED) > 查询的号码