...
Database-Management-System
August 29, 2024
Database-Management-System
August 29, 2024
Database-Management-System
August 29, 2024
Database-Management-System
August 29, 2024

Database-Management-System

Question 465
<consider the="" following="" relation:=""
Works (emp name, company name, salary)
Here, emp_name is primary key. Consider the following SQL query
Select emp name
From works T
Where salary > (select avg (salary)
from works S
where T.company _ name = S.company _name)
The above query is for following :
A
Find the highest paid employee who earns more than the average salary of all employees of his company
B
Find the highest paid employee who earns more than the average salary of all the employees of all the companies.
C
Find all employees who earn more than the average salary of all employees of all the companies.
D
Average salary of all employees of their company.
Question 465 Explanation: 


Correct Answer: A
Question 465 Explanation: 


0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!