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
Does sql profiler affect performance?
How to run sql statements through the web interface?
How to pronounce postgresql?
What is self-join and what is the requirement of self-join?
What is sql resultset?
Explain how exception handling is done in advance pl/sql?
Mention what problem one might face while writing log information to a data-base table in pl/sql?
what are the 'mysql' command line arguments? : Sql dba
What is the usage of when clause in trigger?
What is vector point function?
What are different types of statements supported by sql?
Does inner join return duplicate rows?
What are the benefits of triggers?
What is auto increment?
What is use of package in pl sql?