请教:如何删除一个表中的记录,对编号相同的只保留其中某个字段的最大值得那一条 delete a from tablename a where not exists(select 1 from tablename where 编号=a.编号 and f_month>a.f_month) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 错了,不要执行啊,反了~!delete a from tablename a where exists(select 1 from tablename where 编号=a.编号 and f_month>a.f_month) delete Twhere exists (select 1 from T a where a.编号=T.编号and a.F_Month>T.F_Month) SQL Server IO 子系统浅究 I exists的一点问题。 如何用 sql语句选出 某个表的全部字段名(不是数据),大家要注意 关于sql的索引 =~.~= 跪求:如何利用SELECT实现最大匹配呢? 长跪不起 关于数据库访问本机的txt文件问题!请各位大侠指教: 想用image,但遇到棘手问题。 关于数据库同步表结构的建立 如何获得储存过程返回的记录集(Cursortype是Static或KeySet)? pb菜鸟的提问 除了 有两个表,如何快速的用一个表中的内容来过滤另外的一个表
where exists (select 1 from T a where a.编号=T.编号and a.F_Month>T.F_Month)