问一SQL语句 select *from tb twhere not exists(select 1 from tb where 出日期>t.出日期) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select *from tb twhere not exists(select 1 from tb where 出价用户编号=t.出价用户编号 and 出日期>t.出日期) select *from tb twhere id in(select top 1 id from tb where 出价用户编号=t.出价用户编号 order by 出价日期 desc) 数据库连接 肤浅的问个小问题 sql2008怎么找不到外围应用程序配置 [求教:SQL 行转列] 有很多字段的数据是空,那怎么在gridview1把空写成'null'显示出来 一个关于select in 和not in 的奇怪问题 触发器保存不上! 谁知道腾讯的数据库怎么设计的? 如何写这样一个SQL语句? 这个存储过程错在哪里? 高手进,数据集跟存储过程查询结果不一样,在线等 求同一ID的最大值
*
from
tb t
where
not exists(select 1 from tb where 出价用户编号=t.出价用户编号 and 出日期>t.出日期)
from tb t
where id in(select top 1 id from tb where 出价用户编号=t.出价用户编号 order by 出价日期 desc)