select hiredate - interval 5 day as   hd_minus_5D,
             hiredate + interval 5 day as   hd_plus_5D,
             hiredate - interval 5 month as hd_minus_5M,
             hiredate + interval 5 month as hd_plus_5M,
             hiredate - interval 5 year as  hd_minus_5Y,
             hiredate + interval 5 year as  hd_plus_5Y
from emp
where deptno=10;   

相关文章:

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