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 to order siblings in oracle hierarchy queries?
Does sql*plus have a pl/sql engine?
What is cursor and why it is required?
what is the difernece between named and anonymous pl/sql blocks??
column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.
Do you know the basic structure of PL/SQL?
Are stored procedures faster than queries?
What is sqlerrm?
Is it possible to create startup or shutdown trigger for on-schema?
How to make a copy values from one column to another in sql?
what is sql in mysql? : Sql dba
Can we use insert statement in function?
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)