How to delete the duplicate records from table(having bulk
records)?
Answers were Sorted based on User's Feedback
Answer / rajani
delete from emp where rowid not in ( select max(rowid) from emp group by empno )
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / asha
DELETE FROM school WHERE badgeid NOT IN(SELECT MAX
(badgeid) FROM school GROUP BY id);
Is This Answer Correct ? | 5 Yes | 4 No |
Answer / venkat
delete from employee
where
empid in (select e.empid from employee e, employee e1
where e1.empid=e.empid
group by e.empid
having count(e.empid)>1)
Is This Answer Correct ? | 2 Yes | 2 No |
Answer / mml
delete from students where badgeid not in (select max(id)
from students group by badgeid);
Is This Answer Correct ? | 0 Yes | 3 No |
What is Ienumerable
How can I write my own .NET host?
Explain difference between machine config vs. Web config : Dot net architecture
What is ILDASM ?
how u maintain data while navigating one page to another?
how to display a message box in the Application?
Explain write back and write through caches? : Dot net architecture
6. Wcf- what is SOA
What is Opf3
What's the difference between an application and a program?
what are the events for a form?
What is cache coherency? : Dot net architecture