HOW TO FIND THE EMPLOYEE DETAILS WHO ARE GETTING SAME SALARY
IN EMP TABLE
Answer Posted / harish
select e1.First_name,e1.salary from emp e1,emp e2 where
e1.ROWID <> e2.ROWID and e1.salary=e2.salary;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is de-normalization and what are some of the examples of it?
Is there any difference between the primary key and unique key?
How to get a list of columns in a view using "sys.columns" in ms sql server?
What does it mean if @@cursor_row returns a negative number?
How raid can influence database performance?
Give the query of getting last two records from the table in SQL SERVER?
Explain Geometry datatype in sql server 2008 with example
What to perform pattern match with the like operator?
Tell me time data type, datetime2, datetimeoffset data type in sql server 2008?
Explain throw statement in sql server 2008?
What will happen if a column containing char type data is changed to the nchar data type?
Delete duplicate rows without using rowid.
How do you manipulate data?
Explain the dirty pages?
What is a non-clustered index?