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
What is sql mysql pl sql oracle?
What does partition by mean in sql?
what is a trigger in mysql? : Sql dba
What is raw datatype in sql?
Can a commit statement be executed as part of a trigger?
What is primary key and unique key?
What is sql partition?
Define a temp table?
How will you distinguish a global variable with a local variable in pl/sql?
What is a scalar value in sql?
How does sql developer connect to oracle database?
What happens when a trigger is associated to a view?
What is full join?
What is pl sql block in dbms?
What is cte?