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 the difference between microsoft sql and mysql?
Does access use sql?
What does pl sql stand for?
How do I save a stored procedure?
What are pl/sql cursors?
What jobs use sql?
What are primary key and foreign key and how they work?
What is scope of pl sql developer in future?
How do you go back in sql?
What is row_number () in sql?
What is the difference between sql and mysql?
What is a full join sql?
What is a left join?
Explain foreign key in sql?
what is oracle database ? : Sql dba