Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
获取特定月份雇用的员工的记录,我想显示一月份雇用的员工的记录
我的查询是
select ename,job from emp where hiredate in(to_date('JAN','MONTH'));
据我所知,它应该像这样工作:
SELECT ename, job FROM emp WHERE to_char(hiredate, 'MON') = 'FEB'
希望这可以帮助。来自此页面的信息。