Google News
logo
SQL - Interview Questions
Write an SQL query to fetch the list of employees with the same salary.
The required query is:
Select distinct W.WORKER_ID, W.FIRST_NAME, W.Salary 
from Worker W, Worker W1 
where W.Salary = W1.Salary 
and W.WORKER_ID != W1.WORKER_ID;
Advertisement