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 difference b/w composit key n primary key and
forigion key?

Answer Posted / sathish

Assume a table contains columns
book name
author name
price

>>composite key

Having multi column primary key for a single table is known as composite key.

ex: primary composite key is book name and author name

>>primary Key

Primary key is the unique key, do not accept null value and used as a id to fetch the record from the table.

>> Foreign Key

A primary key of a table which is used as a reference key of another table..

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of using ifnull() function?

934


What is the datatype of image in mysql?

903


What is difference between mysql and mysql server?

969


How do I zip a file in mysql?

960


What is memory table in mysql?

920


What is inner join in mysql?

893


Which software is used for mysql?

956


What is default password for mysql?

847


What is a blob datatype?

840


What is an example of a delimiter?

916


How do I switch users in mysql?

945


How many rows we can insert in a mysql table?

939


What is the hostname for mysql database?

1000


What is triggers?

946


What is mysql and how it works?

953