select et,max(no) from tb_et group by et;

解决方案 »

  1.   

    select et,max(no) from tb_et group by et;
      

  2.   

    select et,no from tb_et a 
    where a.rowid = (select max(rowid) from a b where b.et = a.et and b.no= a.no);
      

  3.   

    select et,max(no) from tb_et group by et;
      

  4.   

    distinct 中全记录中没有重复的。
      

  5.   

    select et,min(no) from tb_et group by et;
      

  6.   

    select f1,f2,f3,...
    from t1
    where f3 =(select maz(f3) from t1 where ............)