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

Distinct:Its gives only the non duplicate values in a database table.
Unique:The UNIQUE constraint uniquely identifies each record in a database table.its similar to primary key.these values
cannot be repeated.But, nearly both are same...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you distinguish a global variable with a local variable in pl/sql?

1143


What is pl sql variable?

973


what are the features and advantages of object-oriented programming? : Sql dba

994


How does a trigger work?

1054


Write an sql query to select all records from the table?

1009


What is use of package in pl sql?

1009


What are tuples in sql?

1122


What is a constraint? Tell me about its various levels.

1146


what is a database lock ? : Sql dba

1158


how to rename an existing column in a table? : Sql dba

1009


What is the source code of a program?

1058


what is the difference between inner and outer join? Explain with example. : Sql dba

1018


What is the difference between alter trigger and drop trigger statements?

1099


Explain the order of sql statement execution?

1035


How do you use a while loop in pl sql?

999