select datediff(ward_hd,allen_hd)
from (
select hiredate as ward_hd
from emp
where ename='WARD'
) x,
(select hiredate as allen_hd
from emp
where ename='ALLEN'
)y;    

相关文章:

  • 2021-12-26
  • 2022-12-23
  • 2022-02-07
  • 2021-12-25
  • 2021-12-03
  • 2021-12-15
  • 2021-12-26
  • 2022-01-05
猜你喜欢
  • 2021-12-15
  • 2021-12-15
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2021-12-25
相关资源
相似解决方案