oracle distinct 是全部字段都相同才显示一条,要作到根据某一列,则以下oracle
select t1.* from table t1 where t1.rowid = (select min(t2.rowid) from table t2 where t1.c= t2.c)table