HOW TO FIND THE EMPLOYEE DETAILS WHO ARE GETTING SAME SALARY
IN EMP TABLE
Answer Posted / antony
select distinct A.id,A.salary from employee A,employee B
where A.salary = B.salary and A.id <> b.id;
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
How to create a user to access a database in ms sql server using "create user" statements?
Which are ddl commands?
Explain filtered indexes?
What is user-defined functions? What are the types of user-defined functions that can be created?
What is the name of the system variable that returns the number of rows affected by a SQL statement?
What is the contrast amongst drop and truncate?
Where views are stored in sql server?
What are the advantages of sql azure?
How to skip remaining statements in a loop block using continue statements?
How to list all schemas in a database?
How can you insert null values in a column while inserting the data?
What is the difference between a primary key and a unique key? Are they the same?
What is efficiency data?
How to drop an existing table with "drop table" statements in ms sql server?
If any stored procedure is encrypted, then can we see its definition in activity monitor?