题目内容 找出所有员工当前薪水salary情况
尝试一
结果:答案正确:恭喜!您提交的程序通过了所有的测试用例
代码:
select distinct salary from salaries where to_date='9999-01-01' order by salary desc;
总结
- distinct 是作用于多列的
题目内容 找出所有员工当前薪水salary情况
结果:答案正确:恭喜!您提交的程序通过了所有的测试用例
代码:
select distinct salary from salaries where to_date='9999-01-01' order by salary desc;