DBI202_-_SU_2024_-_RE_2498.webp
T

DBI202_-_SU_2024_-_RE_2498.webp

Kizspy | Question: 28 (Choose 1 answer)
Which one of the following SQL statements returns the name of the employee (employeename, dept_code,
salary) receiving the maximum salary in a particular department?
A. Select employeename, dept_code, salary From employee Where employee.salary in (select (salary) from Employee group by dept_code having Max(salary))
B. Select employeename, dept_code, salary From employee Where employee.salary in (select Max(salary)from Employee group by dept_code)
C. Select employeename, dept_code, salary From employee Where employee.salary in (select Max(salary)from Employee group by dept_code having Max(salary))
D. Select employeename, dept_code, salary From employee Where employee.salary =(select Max(salary)from Employee group by dept_code.

Thông tin

Category
DBI202
Thêm bởi
thanhphu2003
Ngày thêm
Lượt xem
7,731
Lượt bình luận
33
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom