SELECT t.id
FROM t_staff t
left join (select *
from (select b.*,
(row_number()
over (partition by STAFF_ID order by CREATED_AT desc)) px
from R_STAFF_PLAN b) e
where px = 1) rsp on t.id = rsp.STAFF_ID

相关文章:

  • 2022-01-12
  • 2022-12-23
  • 2022-01-22
  • 2022-12-23
  • 2021-07-02
  • 2022-12-23
  • 2021-12-18
猜你喜欢
  • 2022-01-02
  • 2022-12-23
  • 2022-12-23
  • 2022-02-19
  • 2022-12-23
  • 2021-10-03
  • 2022-12-23
相关资源
相似解决方案