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


Please Help Members By Posting Answers For Below Questions

What are the different operators available in sql?

571


What's the difference between inner join and left join?

511


What is the difference between left and left outer join?

513


How can you load multi line records? : aql loader

655


What are the advantages of sql?

558






How do you bind variables in pl sql?

578


Why is theta join required?

662


What are expressions?

563


Why do we need pl sql?

548


What is the starting oracle error number?

562


What are the triggers associated with image items?

617


What is the difference between a primary key and a unique key?

556


What does 0 mean in sql?

526


What is scalar function in sql?

529


what is sql profiler? : Sql dba

585