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 |
Explian rowid, rownum? What are the psoducolumns we have?
Which is the best place to learn hadoop?
What is sap sql anywhere?
How can check sql version from command line?
i need department wise top 2 employees salary.which logic i will use
Explain what is a column in a table?
Types of cursor locks and explanation each of them ?
What is primary key and unique key?
What are the string functions in sql?
What is a system versioned table?
Explain what is table in a database?
What is pessimistic concurrency control? : Transact sql