What is foreign key sql?



What is foreign key sql?..

Answer / Jayant Srivastava

A Foreign Key in SQL is a field or set of fields in one table that refers to the primary key of another table. It is used to create a relationship between two tables.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

What is an index? What are the types of indexes? How many clustered indexes can be created on a table?

1 Answers  


Explain the types of joins in sql?

1 Answers  


How to change sql*plus system settings?

1 Answers  


How do I order columns in sql?

1 Answers  


What is bulk compiling in pl/sql.?

1 Answers   MCN Solutions,


What are literals in sql server?

1 Answers  


What is coalesce in sql?

1 Answers  


Difference between IN and EXISTS

4 Answers   Nous, Polaris,


Do you know the basic structure of PL/SQL?

3 Answers  


how to create a database in oracle?

3 Answers  


What is the difference between view and stored procedure?

1 Answers  


Do view contain data?

6 Answers   Ramco,


Categories