what is the difference between primary key and foreign key

what is the difference between primary key and foreign key ..

Answer / s g

Primary key is used to identify a row in a table and it
doesnot allow null values. It avoids duplication of rows.

whereas foreign key refers to a column or combination of
columns included in the defenition of referential integrity

Is This Answer Correct ?    11 Yes 2 No

Post New Answer

More Manual Testing Interview Questions

Suppose u and ur team member is there.ur team member (friend) has raised one bug..u don't no abt apllication as well as that functionality of that application.ur TL give the task u have to give the Severity & Priority..how can u give the Severity & Priority?

3 Answers   Wipro,

what is status of defect when you are performing regression testing.

8 Answers   Mascon,

Q-1 WHAT IS USE CASE? Q-2 Test cases cannot be developed with system users and designers as the use cases are being developed? true or false Q-3 WHAT ARE DIFFERENT TYPES OF INCREMENTAL TESTING? Q-4)The cost of fixing a fault a)not important b)increses the later fault is found c)decreses the later fault is found d)can never be determined

3 Answers  

what is volume Testing?

15 Answers   MBT,

what is the Difference between Integration testing and system testing?

11 Answers  

when test plan is created?

1 Answers  

Diff. between system test cases & UAT test cases.

2 Answers   TCS,

What Is risk Based testing?

0 Answers   TCS,

How to validate a Testcase.and is the testing Methodology.

0 Answers  

What are your greatest weaknesses?

4 Answers   Satyam,

Is Alpha Testing done by Testers or Developers?

9 Answers  

what is mask testing?

2 Answers   MBT,