0 like 0 dislike
34 views
in Computer Science by (1.0m points)
Distinguish between primary key and foreign key.

1 Answer

0 like 0 dislike
by (1.0m points)
Keys are the crucial part of DBMS they are used to identify and establish a relation between the tables in a schema. Now, today we are going to discuss two very important keys of DBMS i.e. Primary key and Foreign key, and we will also discuss the difference between primary key and foreign key. On the way let me tell you the basic difference between primary and foreign key which is primary key is one of the chosen candidate keys by database designer whereas, a foreign key is a key that refers to the primary key of another relation.

There many other differences between these two, let us identify those differences with the help of comparison chart shown below.

Related questions

0 like 0 dislike
1 answer 31 views
0 like 0 dislike
1 answer 126 views
asked Feb 11, 2019 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 79 views
asked Apr 3, 2019 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 36 views
0 like 0 dislike
1 answer 29 views
asked Feb 11, 2019 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 23 views
0 like 0 dislike
1 answer 40 views
0 like 0 dislike
1 answer 676 views
Welcome to Free Homework Help, where you can ask questions and receive answers from other members of the community. Anybody can ask a question. Anybody can answer. The best answers are voted up and rise to the top. Join them; it only takes a minute: School, College, University, Academy Free Homework Help

19.4k questions

18.3k answers

8.7k comments

3.3k users

Free Hit Counters
...