您当前的位置: 首页 >  sql

星拱北辰

暂无认证

  • 0浏览

    0关注

    1205博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

【数据库系统】大学模式SQL查询题解

星拱北辰 发布时间:2021-02-04 09:29:19 ,浏览量:0

1.Find the highest salary of any instructor.

select max(salary)
from instructor

2.Find all instructors earning the highest salary (there may be more than one with the same salary).

select ID, name 
from instructor 
where salary = (select max(salary) from instructor)
关注
打赏
1660750074
查看更多评论
立即登录/注册

微信扫码登录

0.0465s