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 / gvmahesh

unique is a constraint it's declare for preventing the data
duplication.we create it along with table creation.
DISTINCT is a clause it is used for retrieving the data
without duplication.but it can't prevent the data
duplication.It just hiding the duplicated data.

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what's the difference between a primary key and a unique key? : Sql dba

1038


How to use boolean type in select statement?

1065


What are the different dcl commands in sql?

1129


What is the process of debugging?

1060


What is having clause in sql?

956


How do I enable sql encryption?

1017


Differences between Oracle 9i and 10g (Probably in terms of SQL and PL/SQL)?

3563


Is it possible to read/write files to-and-from PL/SQL?

1095


Does execute immediate commit?

1207


how to convert numeric values to character strings? : Sql dba

1097


Which sql most popular?

983


What is number function in sql?

957


What is the use of function in sql?

1079


Is sql similar to python?

965


How do I run a sql trace?

951