如何去合拼这样的数据 delete a from 表 awhere isnull(c2,'')='' and exists(select * from 表 where c1=a.c1 and isnull(c2,'')<>'') 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from t awhere c2=(select top 1 isnull(c2,'') from t where c1=a.c1 order by c2 desc) delete a from 表 awhere isnull(c2,'')='' and exists(select * from 表 where c1=a.c1 and isnull(c2,'')<>'') 求助 远程连接,网页中连接得上SQLSERVER数据库,VC中连不上,本地都行 Sql Server刪除 大哥大姐 有关代数表达式最简单的题 帮帮忙啊~~ 工资库的问题! 一个Count的问题,谢谢了 SQL语句查询空值问题,请高手解决 简单问题:我是不是晕了头了???? 为什么Insert.....select语句不能运行 请教各位大虾,文件类型转换的问题? 在vs2010 MFC程序中添加sql server数据库的查询 一个查询问题,同表查询 数据库运行时间问题?
from t a
where c2=(select top 1 isnull(c2,'') from t where c1=a.c1 order by c2 desc)
where isnull(c2,'')=''
and exists(select * from 表 where c1=a.c1 and isnull(c2,'')<>'')