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

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.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

GLOBAL TEMPORARY TABLE over Views in advantages insolving mutating error?

3099


What are different types of functions in sql?

1050


Who developed sql?

1089


how does a local variable is defined using t-sql? : Transact sql

1054


What is sql exception?

1010


What do you understand by pl/sql cursors?

1138


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

1104


how to shut down the server with 'mysqladmin'? : Sql dba

1046


How do you remove duplicate records from a table?

974


Does mysql support pl sql?

1224


What is restrict in sql?

1173


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

1077


Explain the methods used to protect source code of pl/sql.

1068


Can I learn sql in a week?

1117


Can a procedure in a package be overloaded?

1096