How to delete the duplicate colums in a sql table ?
Answers were Sorted based on User's Feedback
Answer / san
It's not at all possible to create duplicate columns in a
SQL table. The how can we delete the duplicate columns?
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / sathyasheelanbe
delete from tablename where rowid not in(select max(rowid)
from tablename group by primary key columnname)
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / subash
In this query the values will delete based on employee names
delete from emp a1 where rowid<(select max(rowid)from emp a2
where a1.ename = a2.ename group by a2.ename having count(1) >1);
| Is This Answer Correct ? | 3 Yes | 4 No |
when to go for alias and when to go for contexts
How do u get requirement from the client? in what format?
when I am trying to schedule the report its running faster then I tried to run it manually?? why is it so that there is difference of time between scheduling and manual run for report
What task is 98% of the required work of a business analyst?
How to get top 5 rows of a selected column?
What is difference between merged dimension and forced dimension??
What are the different types of Filters available in BUSINESS OBJECTS?
why we use aggregation in lower level
When we use aggregate awareness function in designer?
Please anybody tell me Is Data integration And ETL programming is same..? Thanks in advance....
What are steps to be taken care to create a good Universe?
What is the server based ranking? and its usage?