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
Can we rollback after truncate?
How would you convert date into julian date format?
What is an oracle stored procedure?
Explian rowid, rownum?
what are the different tables present in mysql? : Sql dba
What is the max nvarchar size?
Why do we use sql constraints?
what is the different between now() and current_date()? : Sql dba
What is pl/sql language case sensitive?
What is dense_rank in sql?
What is trigger point?
What is fmtonly in sql?
What is sqlexception in java?
Is it possible to pass parameters to triggers?
What does varchar include?