数据库和ER高手进
来源:百度知道 编辑:UC知道 时间:2024/05/26 23:09:06
第一题
第二题.
要认真做的,最好能上QQ跟我说下!在下QQ35524718在线等高手您的到来!
第二题.
要认真做的,最好能上QQ跟我说下!在下QQ35524718在线等高手您的到来!
select empID,empName,gender,salary,birthdate from employee where salary=(select max(salary) from employee) 大概就是这样把,这个是第一题答案,第2题的不会
怎么这么眼熟呢?
select employee.empID,empName,;
gender,salary,birthdate;
where salary in (select max(salary);
from employee)
第二题不会
这个是Access的题目
1.select empID,empName,gender,salary,birthdate
from employee
where salary= (Select max(salary) From employee)
2.涉及的东西比较多,比较麻烦,但不难
select top 1 empID,empName,gender,salary,birthdate from employees order by salary desc