how to delete duplicate rows from a specified table(only
single table)
how do you know which join is need to be used
Answer Posted / kishor solanki @ 9904762204
create table newtable as select * from oldtable order by dupcol;
drop oldtable;
rename newtable to oldtable;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is normalization? How many normalization forms are there?
How do rank () and dense_rank () differ?
What's the difference between a primary key and a clustered index?
What is sql dialect?
Can we rollback after truncate?
How do you update f as m and m as f from the below table testtable?
Explain the working of primary key?
what is unique key constraint? : Sql dba
How many tables can you join in sql?
which command using query analyzer will give you the version of sql server and operating system? : Sql dba
Is ms sql is free?
What is the main difference between sql and pl/sql?
What is difference between ms sql and mysql?
Does truncate need commit?
What is character functions?