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

Differences between UNIQUE and DISTINCT in select statements

Answer Posted / chandra sekhar

the diff between unique and distinct is
unique is applied before insertion and retrival.it consists
of non duplicate values.if unique constraint is given it
does not take duplicate values.distinct is used in retrival
it gives the suppressed row(ex if two rows are same it will
show single row and non duplicate row) therefore distinct is
the combination of suppressed duplicate and non duplicate rows.

Is This Answer Correct ?    35 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is left join example?

1003


What is the purpose of using pl/sql?

1186


What is record in pl sql?

1135


how to dump a table to a file with 'mysqldump'? : Sql dba

1094


What is sequence in sql?

1074


how to start mysql server? : Sql dba

1231


What are the parts of a basic sql query?

1010


Can there be more than one function with a similar name in a pl/sql block?

1036


What are the advantages of stored procedure?

1037


How can I change database name in sql?

1152


what are the different type of sql's statements ? : Sql dba

973


What is composite primary key in sql?

1039


What is sqlerrm?

980


What is %rowtype in pl sql?

1026


What is the difference between delete, truncate and drop command?

1217