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 defect pooling?

6 Answers  


Is Anyone attended the manual testing interview with capgemini in recent past. please let me know the type of questions they can ask. Thanks

0 Answers  


recently, i attended for one interview. in that they asked for project explanation. i explained that project. after that they ask me to write test scenarios for that? in real time i don't know how to write test scenarios. can any one please write test scenarios for the following given project. Health care solutions This project mainly deals with Hospital Management System. There are different modules, each module contain different functionality. They are Appointment Scheduling, Registration, Visit & Admission, Out & In Patient Service Management, Lab Management, Bill Handling, Patient Notes, Blood Bank, Master Setup & Security Module, and Pharmacy Quotations.

3 Answers  


What is the input for System testing?

6 Answers  


what the document used is in a V-model in each phase?

2 Answers  






Write or explain 3 testcases you executed recently with detailed descriptions ,steps to reproduce & explain what results they gave when you executed on a recent build?

0 Answers  


How will be the communication between the testers and developers while found a bug?

3 Answers  


What is test metrics? give example of it.

8 Answers   IBM, Persistent,


can any one give the example for high severity high priority high severity low priority low severity high priority low severity low priority

10 Answers   TCS, Wipro,


u posted a bug with screenshots and steps to reproduce but still the developer is not accepting this is a bug. in dev system it is not reporducing . how u'll convince he developer? (if the developer is in india or onsite(give the answer for both the cases)

8 Answers   Semantic Space,


what is the difference b/w system testing & functional testing ?

5 Answers  


From Quality Center, how can we take a back up of a project??

1 Answers  


Categories