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

how to fetch alternate records from a table? : Sql dba

1050


What is over () in sql?

889


What's the difference between inner join and left join?

945


what is 'mysqlshow'? : Sql dba

973


what is union? : Sql dba

962


what are rollup and cube in t-sql? : Transact sql

1044


How do I run a script in sql developer?

894


Explain what is sql?

1049


What is a record in pl/sql?

1061


What is an oracle stored procedure?

984


How to call a javascript function from pl sql?

1063


What is sap sql?

923


Can %notfound return null after a fetch?

996


what is unique key constraint? : Sql dba

987


Does sap use sql?

927