select datediff(ward_hd,allen_hd)
from (select hiredate as ward_hdfrom empwhere ename='WARD') x,(select hiredate as allen_hdfrom empwhere ename='ALLEN')y;本文共 217 字,大约阅读时间需要 1 分钟。
select datediff(ward_hd,allen_hd)
from (select hiredate as ward_hdfrom empwhere ename='WARD') x,(select hiredate as allen_hdfrom empwhere ename='ALLEN')y;转载于:https://www.cnblogs.com/liang545621/p/7523295.html