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 / mohannad amarneh
select distinct(sal) from my_table;
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
Is pl sql still used?
Can you have more than one key in a database?
How run sql*plus commands that are stored in a local file?
what does it mean to have quoted_identifier on? What are the implications of having it off? : Sql dba
What is cross join sql?
How many postgresql users are there, worldwide?
How do I remove sql plus from windows 10?
What type of database is cloud sql?
what is an alias command? : Sql dba
What is substitution variable in pl sql?
Is primary key clustered index?
What is relationship? How many types of relationship are there?
Which software is used for pl sql programming?
what is a constraint? : Sql dba
What is the difference between function and procedure in pl/sql?