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 in the table
permanently and i want output in the above formatow should u
write query?
Answer Posted / narasimha
select distinct(sal) sal from salex;
| Is This Answer Correct ? | 35 Yes | 22 No |
Post New Answer View All Answers
Is sql sequential or random?
Is sql microsoft?
what is union, minus and interact commands? : Sql dba
what is cursor. write example of it. What are the attributes of cursor.
What is memory optimized table?
What is dense_rank?
How do you rename a table in sql?
What is cursor in pl sql?
What do you mean by table in sql?
what is the difference between mysql_fetch_object and mysql_fetch_array? : Sql dba
what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba
Can we alter stored procedure?
How do you delete duplicates in sql query using rowid?
Differentiate between sga and pga.
How do I remove duplicates in two columns?