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 / muthukumar

Select Sal From Emp
Group By Sal

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it important to partition hard disk?

541


What are the features of pl sql?

575


What is the purpose of the sql select top clause?

561


What operating systems are supported by oracle sql developer?

532


What are the benefits of stored procedures?

541






Why do we use %rowtype & %type in plsql?

618


how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba

788


What is a recursive stored procedure?

625


how to calculate expressions with sql statements? : Sql dba

538


What is java sql connection?

520


What is loop in pl sql?

582


What is the usage of sql functions?

558


What is normalization? How many normalization forms are there?

564


What is normalisation and its types?

558


how can we repair a mysql table? : Sql dba

546