write a query to remove duplicate records without using primary key column?
Answers were Sorted based on User's Feedback
Answer / mathanrathinam
delete tmp from(select col1,col2,row_number over(partition by col1,col2 order by col1,col2) rownum from tablename) tmp
where rownum >1
| Is This Answer Correct ? | 7 Yes | 8 No |
create index myindex on mytable(mycolumn) what type of index will get created after executing the above statement? : Sql server database administration
explain different types of jions with examples briefly?
what is package configuration variable?How to change file name in folder dynamically?Plz help me
What is a primary index?
What are trace files?
How do I edit a procedure in sql server?
Detail about query optimizer?
What does the on delete cascade option do?
Define tempdb database?
What is the use of “join” in sql server?
What is the difference between Drop and Truncate
What are the differences between INNER JOIN, LEFT JOIN and RIGHT JOIN in SQL Server?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)