one of the column in my table contains the data like
SAL
----
1000
1000
2000
3000
3000
So my requirement is i want output like
SAL
---
1000
2000
3000
it mean i want to delete duplicate rows only how should u
write query?
Answer Posted / manju
Select sal from emp group by sal having count(*)>=1
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is pl sql in oracle?
how to include comments in sql statements? : Sql dba
How to revise and re-run the last sql command?
What is sequence in sql?
Explain the difference between sql and mysql.
what is sub-query? : Transact sql
How many types of cursors are available in pl/sql?
what is table? : Sql dba
What is implicit cursor in pl sql?
What is a left inner join?
What is the use of triggers?
How do I save the results of sql query in a file?
What is sql partition function?
What is the syntax and use of the coalesce function?
Can we insert in view in sql?