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

What is where clause in sql?

1040


How to avoid duplicate records in a query?

1008


What are primary key and foreign key and how they work?

978


What is the basic structure of an sql?

1098


How to use boolean type in select statement?

1076


Explain how exception handling is done in advance pl/sql?

999


What is a sql select statement?

1041


how to get a list of indexes of an existing table? : Sql dba

960


How do you declare a user-defined exception?

1024


Which are the different character-manipulation functions in sql?

1065


Explain polymorphism in pl/sql.

1123


What is the difference between rename and alias?

1344


What is a native sql query?

1072


how many ways to get the current time? : Sql dba

1007


What is a constraint?

1023