oracle distinct 是所有字段都相同才显示一条,要做到根据某一列,则如下

select t1.* from table t1 where t1.rowid = (
select min(t2.rowid) from table t2 where t1.c= t2.c
)

相关文章:

  • 2021-09-10
  • 2021-10-29
  • 2022-01-29
  • 2022-12-23
  • 2021-11-24
  • 2021-12-28
  • 2021-11-29
  • 2021-11-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-17
  • 2022-12-23
  • 2021-11-06
  • 2021-08-04
相关资源
相似解决方案