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 sessions and cookies take one example simple way to understand
Can I customise the trace output?
any one can explain about projectarchitecture and project approach briefly
How do we do authentications using atlas?
readonly syntax ?
What is a service class?
what is the need of vss to developer?
What is the mesi? : .NET Architecture
Difference between throw exception and rethrowing ?
I can't be bothered with cas. Can I turn it off?
define cache memory? : Dot net architecture
Define pipelining? : Dot net architecture