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
Is left join inner or outer?
What is trigger with example?
Can ddl statements be used in pl/sql?
What are stored procedures used for?
Explain the savepoint statement.
What is fmtonly in sql?
Can you have more than one trigger on a table?
How exception handling is done in advance pl/sql?
how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba
How can we make an if statement within a select statement?
What is function and procedure in pl sql?
What is input buffer in sql*plus?
What mean sql?
What are sql queries used for?
which types of join is used in sql widely? : Sql dba