Answer Posted / sixface
ID NAME
1 ravi
2 umang
1 ravi
3 nishant
SELECT id,name
FROM emp
WHERE id in
(
SELECT id
FROM emp
GROUP BY id
HAVING COUNT(*) > 1
);
It gives all duplicate rows........
Lets try.....
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Differentiate between pl/sql and sql?
What is the maximum number of triggers, you can apply on a single table?
What is compilation error in pl sql?
Is left join faster than inner join?
What is type and rowtype in pl sql?
What are sql data types?
How exception is different from error?
what is data manipulation language? : Sql dba
what are the differences between require and include, include_once and require_once? : Sql dba
What is meant by temporal data?
what is column? : Sql dba
What is coalesce sql?
How do you break a loop in pl sql?
Explain what is dbms?
How to combine two stored procedures in sql?