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...

how to delete duplicate rows from a specified table(only
single table)
how do you know which join is need to be used

Answer Posted / yankee

If you wish to remove duplicate values, then use the
DISTINCT parameter.
Consider there is a table:emp, with deptno. as one of its
coloumn. This coloumn has repeated values. Then you should
use the following query to remove the duplicate values:
SELECT DISTINCT deptno FROM emp;

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between a having clause and a where clause? : Sql dba

1156


What are the constraints available in sql?

1085


Which tcp/ip port does sql server run?

1068


What is %s in sql?

1075


What is procedure explain with program?

1067


what is a database? : Sql dba

1239


How to pronounce postgresql?

1096


Can we join same table in sql?

1066


What is sql*plus?

1120


What is sqlca in db2?

1033


is it possible to pass an object or table to a procedure as an argument?

1176


What are system versioned tables?

1074


What is sql performance tuning?

978


What are triggers and its uses?

1095


What is the difference between the sql*loader and import utilities? : aql loader

1090