我想计算身份证是18位的标识出来,有什么问题? select c_identityno,decode(length(c_identityno),18,'18',15,'15')as aa from TACCOINFOwhere aa='18' 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select c_identityno from TACCOINFO where length(c_identityno)=18 select *from(select c_identityno,decode(length(c_identityno),18,'18',15,'15')as aa from TACCOINFO )where aa='18' emp表中如何统计每个员工的领导的年薪,并按年薪由高到低排列 dba role权限问题 OCCI 问题(高手进) 为什么我的电脑登陆系统以后就死机? 调查: 你们的生产库打没打过Oracle的安全补丁(CPU) oracle安裝目錄中.DAT類型文件的作用 推荐一个专业的数据库技术网站 面试题:如下的sql该怎么写? 真遗憾,问题??? 如何从AIX下建立裸设备? 关于数据库join问题 oracle10g for linux em地址https://....需要一个证书?
select c_identityno from TACCOINFO where length(c_identityno)=18
select *
from
(select c_identityno,decode(length(c_identityno),18,'18',15,'15')as aa from TACCOINFO )
where aa='18'