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 raw datatype in sql?
What is clustered index sql?
What is primary key and unique key?
Can pl sql procedure have a return statement?
What is a data definition language?
Explain the insert into statements in sql?
What is the maximum rows in csv?
What are aggregate and scalar functions?
How does cross join work?
What is pivot query?
What is the difference between a subquery and a join?
How do you truncate?
What is pivot table in sql?
What are some emotional triggers?
What do you understand by pl/sql records?