how to delete duplicate rows from a specified table(only
single table)
how do you know which join is need to be used
Answers were Sorted based on User's Feedback
If you wish to remove duplicate values, then use the
DISTINCT parameter.
Consider there is a table:emp, with deptno. as one of its
coloumn. This coloumn has repeated values. Then you should
use the following query to remove the duplicate values:
SELECT DISTINCT deptno FROM emp;
| Is This Answer Correct ? | 2 Yes | 3 No |
How would you hide a table in sql. ie the table can be only visible to its maker?
What is a schema? How is it useful in sql servers?
Where is all the data on the internet stored?
what is global variable in package
What is the purpose of cursors in pl/sql?
How do I run a script in sql developer?
How to return multiple records from procedure?
how to dump a table to a file with 'mysqldump'? : Sql dba
What are procedures used for?
How can we connect an Android App to an Oracle database and use the PL/SQL procedural code?
Is pl sql better than sql?
how to get help information from the server? : Sql dba
Oracle (3259)
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)