Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How do I add a primary key to a table?

968


Define join and name different types of joins?

955


what are the differences between binary and varbinary? : Sql dba

976


What is the difference between the implicit and explicit cursors?

990


What company owns postgresql?

960


explain advantages of myisam over innodb? : Sql dba

1014


What is file based approach?

874


What is mutating table error?

1115


how to use myisamchk to check or repair myisam tables? : Sql dba

910


What does where 1 1 mean in sql?

976


How do you copy a table in sql?

1009


What is the primary use of normalization?

937


how can we take a backup of a mysql table and how can we restore it. ? : Sql dba

918


What are the sql commands?

1090


What is string join?

931