What is a foreign key?

Abhinav Thakur
Abhinav Thakur

Posted On: Dec 17, 2020

 

When we relate two tables then the primary key of the first table is declared as the foreign key for another table.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    HCL freshers interview questions

    What is an array?

    In programming, Array is a collection of similar types of values in a single unit. Array stores data in a contiguous memory location....

    HCL freshers interview questions

    Explain ISO/OSI Model and it's Layers?

    The OSI model is a networking model for understanding and designing a network architecture that would be flexible, robust, and interoperable. Communication between different systems without requiring ...

    HCL freshers interview questions

    What are four pillars of OOPS?

    The four pillars of OOPs are as follows:Inheritance Abstraction Encapsulation Polymorphism ...