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 are its different types of dbms?
discuss about myisam index statistics collection. : Sql dba
What are the subsets of sql?
how to enter numeric values as hex numbers? : Sql dba
What is rtm stands for?
What is meant by <> in sql?
- Types of triggers - View - Dcl - Procedures, packages, functions - Metasolve - Can use Dcl in triggers - package case study - Cursor and its types - triggers schedule - Wrap - Why we are using fetch and for in cursor. difference?
What is blind sql injection?
How do I create a sql script?
Can we use view in stored procedure?
Explain clause in sql?
What is full join?
Explain the structure of pl/sql in brief.
What is difference between mysql and postgresql?
Is and as keyword in pl sql?