按record_id分组显示行号

 select ROW_NUMBER() OVER (PARTITION BY record_id order by id desc) line_num,record_id,deal_emp_name auditor_name
 from oa_table_deal
 where table_name='ss_call'

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-03-06
  • 2022-01-11
  • 2022-01-07
  • 2021-06-08
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案