为什么不直接取 count(*)=2 ,子查询 直接返回 a.hire_date,如下: select * from employees where hire_date= (select a.hire_date from employees a,employees b where a.emp_no!=b.emp_no and a.hire_date < b.hire_date group by a.emp_no having count(*)=2)
1

相关推荐

不愿透露姓名的神秘牛友
04-16 16:26
我的工资够买几件上千的衣服?是时候反思了
菜鸟CV程序猿:国内这都不是老板,是奴隶主
点赞 评论 收藏
分享
点赞 评论 收藏
分享
牛客网
牛客企业服务