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 is bind variable in pl sql?

1099


List the ways to get the count of records in a table?

938


What is pl/sql table? Why it is used?

1072


How do you get column names only for a table (sql server)?

1206


Is sql a scripting language?

1078


What is pl sql and why it is used for?

1152


How do sql triggers work?

1088


what are the different type of normalization? : Sql dba

1060


What is sharding in sql?

1037


What is scope of pl sql developer in future?

1065


what is cross join? : Sql dba

1041


Why plvtab is considered as the easiest way to access the pl/sql table?

1283


What is java sql connection?

1110


How many tables can you join in sql?

1000


What is vector point function?

1090