查询工作地点CHICAGO并且入职日期最早的前两名员工姓名,入职日期
这个才是Oracle的写法,前面回答那人是mysql的写法
sellect * from ( select 姓名, 入职日期 form table where 工作地点=‘CHICAGO' order by 入职日期 asc ) where rownum <=2
select姓名,入职日期form 员工where 工作地点=‘CHICAGO'order by 入职日期limit 2