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

When is the update_statistics command used?

1120


where are cookies actually stored on the hard disk? : Sql dba

1030


What are the types of sql commands?

1103


which command using query analyzer will give you the version of sql server and operating system? : Sql dba

1064


What is sql entity?

1107


Is sql between inclusive?

1133


How would you convert date into julian date format?

1006


Why procedure is used in sql?

1037


What mean sql?

1014


What is primary key in db?

1011


Is it possible to include an insert statement on the same table to which the trigger is assigned?

1016


how tsql statements can be written and submitted to the database engine? : Transact sql

995


Why do we need unique key in a table?

957


Is left join and outer join same?

1070


How to create an array in pl/sql?

1069