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

how to add a new column to an existing table in mysql? : Sql dba

1073


What is normalization in a database?

1156


What is varray in pl sql?

1075


Are sql database names case sensitive?

1003


how do you know if your mysql server is alive? : Sql dba

1078


Does sql profiler affect performance?

992


Which join is like inner join?

1027


Do we need to rebuild index after truncate?

1035


What is oracle and pl sql?

1118


Does truncate release storage space?

1077


What is primary key and unique key?

1121


What is error ora-12154: tns:could not resolve the connect identifier specified?

1079


What is the difference between local variables and global variables?

1125


What is trigger with example?

1100


How many types of cursors are available in pl/sql?

1109