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 / sandeep sudunagunta
Select sal form from my_table group by sal having count(*)>1
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain spool.
Can primary key be changed?
What are local and global Indexes and where they are useful.
What is autocommit sql?
Explain two easy sql optimizations.
What is a constraint? Tell me about its various levels.
What is the usage of distinct keyword?
Explain polymorphism in pl/sql.
Why do we use cursors?
Is natural join same as inner join?
How do I know if I have sql express or standard?
What is the starting oracle error number?
What is the function that is used to transfer a pl/sql table log to a database table?
What is error ora-01000: maximum open cursors exceeded
What are transaction and its controls?