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...

what is primary key,unique key, foreign key? can u teach me
in simple language?

Answer Posted / doraswamy

One table allows only one primary key but there is no
restriction for unique keys.
These two are same but one difference is unique key will
allow nulls.
Primary key create on a combination of mulitiple colums.

Foreign key is reference of another table primiary key. It
will not allow null values.

~Doraswamy

Is This Answer Correct ?    106 Yes 43 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between data and database?

1030


What happens when shared and exclusive locks are applied on data item?

996


What is a driver in database?

1087


How is image stored in database?

996


Which is the best graph database?

914


What is the difference between a stored procedure and a query?

1050


how can you perform lookup range in lookup stage expalin in detail?

1890


Differentiate between extension & intension?

1377


What is the difference between specialization and generalization?

980


What is database and its types?

966


Can a database table exist without a primary key?

904


What is the candidate key used for?

1047


What are different types of clusters present?

1038


What is the advantage of varchar2 over char?

1224


Explain alternate key?

1027