How to delete redundant data from a table & How do we come to know that data or rows is being duplicated with same datavalue in Table.

Showing Answers 1 - 5 of 5 Answers

suman

  • Jan 16th, 2007
 

We can delete the redundant data using 'count(Coloumn) >1'  ,

  Was this answer useful?  Yes

kajamaideen

  • Jan 19th, 2007
 

delete from emp where rowid not in(select max(rowid) from emp group by deptno);

  Was this answer useful?  Yes

Using Self join like.

Delete from emp where id in (select id from emp a,emp b
                                               where a.id=b.id and a.rowid<>b.rowid
                                               );

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions