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
How do you write an inner join query?
Is not equal in sql?
What is the difference between nested table and varray?
Does db2 use sql?
How do I pipe the output of one isql to another?
What are functions in sql?
discuss about myisam key cache. : Sql dba
What does varchar include?
What is bitemporal narrowing?
what is 'mysqlimport'? : Sql dba
what are the t string functions available in tsql? : Transact sql
What is minus?
Which column in the user.triggers data dictionary view shows that the trigger is a pl/sql trigger?
What is nosql vs sql?
Write the command to remove all players named sachin from the players table.