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 / priya reddy

primary key- if a column is declared as priamry then there
wont be any repeated values in that column throughout that
table, as well as it wont take any null values and we can
use primary key only once in a table. but we can declare
combination of two columns as primary key.
unique- if a column is declared as unique then again there
wont be any repeated values in that column, but this will
take null values and even we can declare more thatn one
unique column in a table.
foreign key-if a column is declared with this key then we
have to use a reference ie we need to give the column which
will have the same values as this column and the table that
column belongs to.. this referced column of other table
will be the primary key of that table.

Is This Answer Correct ?    379 Yes 91 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to produce such kind of file?

1050


What is the importance of database partitioning?

1009


how to configure oracle 10g in java1.5 and tell me know how to set class path in system?

1989


What are the types of indexes that are present inside a database?

1069


What is the purpose of firebase?

930


What are the advantages of normalizing a database.

1001


Explain entity type?

945


What do you mean by cluster and non cluster index?

1030


what is ad-hoc access? what is the diff b/w managed query and ad-hoc access?

2259


What is odm in database?

999


What is database and its types?

950


What is replicaset?

941


What is the function of cluster index?

1092


A lowest level of security by most RDBMS is

1093


5. Explain about relational algebra.

2115