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 you improve the performance of sql*loader? : aql loader

955


What is the location of pre_defined_functions.

1111


What are the possible values for the boolean data field?

900


What are the differences between implicit and explicit cursors?

1002


How do I view stored procedures?

916


How to use sql*plus built-in timers?

1094


Can we use ddl commands in pl sql?

1069


what are wild cards used in database for pattern matching ? : Sql dba

1076


what is the difference between where clause and having clause? : Sql dba

947


How do you change a value in sql?

965


What is the sql case statement?

951


what is the difference between join and union? : Sql dba

1028


Can we insert in view in sql?

1002


What is offset and limit in sql?

999


How can we store rows in PL/SQL using array?

1159