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 / teju

PRIMARY KEY :
IN THE TABLE we can find only one record as
uniqely & also it is not null.

unique key:
uk is to search any record as uniquely& when it
is declared it should be only one null values.

Fk:
fk is to maintain the relations bet two tables
as an duplicate values.means to not null.
e.g
1> stud(stud_id,stud_name);
2> stud_det(stud_id,addr);
In this table stud_id is an pk & In the stud_det as
stud_id is used as an duplicate.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the disadvantages of views in a database?

1052


A lowest level of security by most RDBMS is

1167


What advantages does DBMS have over traditional file systems?

1035


Explain artificial key?

1166


What are the various ways to execute a query in teradata?

2603


What do you mean by cluster and non cluster index?

1074


Explain natural key?

1119


Explain partial key?

1081


List some advantages of dbms.

1128


How do I setup a database connection?

1003


aht is the difference b/w network & hierarchial & relational dbms????

2205


What is a database example?

972


Write a query to get maximum and second maximum in oracle?

1045


Difference between sql and mysql?

2088


Given a table of Player which contains Sno and player name, write a query which finds all possible Table Tennis doubles pairings.

1470