Delete duplicate records from the table?(Table must have
unique id)
Answer Posted / naren
delete id from table where id in(select id from table having count(id)>1)
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Explain what role entity and relationship play in an ER diagram.
Which sql server is best?
What is xdr?
Explain the difference between cross join and full outer join?
How retrieve field names from the table in SQL through JAVA code?
Explain the properties of subqueries in sql server?
How to check status of stored procedure in sql server?
Can select statements be used on views in ms sql server?
User wants only to display only pdf as export option in report manager. How to achieve this?
What is difference between rownum and rowid?
What is indexing explain it with an example?
Explain how dts is used to extract, transform and consolidate data?
Is it possible to update the views? If yes, how, if not, why?
Explain important index characteristics?
What do you mean by cardinality?