How do I find duplicates in two columns?
Answer / Manish Kumar Dwivedi
You can use a subquery to find duplicates in multiple columns. For example: SELECT column1, column2 FROM table WHERE (column1, column2) IN (SELECT column1, column2 FROM table GROUP BY column1, column2 HAVING COUNT(*) > 1).
| Is This Answer Correct ? | 0 Yes | 0 No |
explain the delete statements in sql
what are string data types? : Sql dba
What are different types of functions in sql?
How do I make my sql query run faster?
wirte a query to remove null? following table are col1 col2 col3 dinesh null null null suresh null null null prakesh i want the output like col1 col2 col3 dinesh suresh prkaesh
can we update a view which is created from two tables
Is pl sql a programming language?
What is the use of triggers?
What is a temporal table?
Can we interchange parameters in procedure while calling
How to process query result in pl/sql?
Why we use pl sql?
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)