select distinct column_name from tabble;

解决方案 »

  1.   

    select * from tablename a,(select max(rowid) no from tablename group by colname) b
    where a.rowid=b.no
      

  2.   

    前面好象把意思理解错了try:select * from tablename a,(select colname from tablename group by colname having count(*)=1) b 
    where a.colname=b.colname;
      

  3.   

    select * from temp a
     where rowid in (select max(rowid) from temp b where a.字段名=b.字段名);
      

  4.   

    select distinct column from table.