日期:2014-05-18  浏览次数:20473 次

大家看看,进来拿点分!!!
select   top   16   *   from   @t   as   a  
where   not   exists(select   1   from   @t   where   企业编号=a.企业编号   and   时间> a.时间)
order   by   企业编号   desc
这里的1代表是什么意思!

------解决方案--------------------
1是常数, exists会返回true 或 false