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

what is the formal technical review

1 Answers   Accenture,


What is integration testing

9 Answers   Nucleus Software,


Who Prepare the Master Test Plan? Who Prepare the Test Plan?

1 Answers   Patni,


Who executes the UAT testcases

5 Answers  


is smoke and sanity testing is same? Please clear this doubt.

3 Answers  






this is a question asked by an interviewer..."why have u choose the testing field"

2 Answers  


what is requirement traceability matrix? Mention its format

4 Answers   CTS, Zycus Infotech,


1. define Database testing ? 2. define severity and priority and types with example?

2 Answers   CSS,


What is the difference between bug , error and defect ? Explain with example. 2... What is diff between test approach , test strategy, Test plan and test methodology documents? 3...How to test a website with manual testing? 4. What methodologies have you used to develop test cases?

13 Answers   Infosys, SCI, Wipro,


Is integration testing is a validation testing ?

1 Answers  


What is JAVA Testing, what we do in That ?

2 Answers  


What is the difference between three tier and two tier application?

0 Answers  


Categories