in Others edited by
521 views
0 votes
0 votes

A recursive foreign key is a :

  1. references a relation
  2. references a table
  3. references its own relation
  4. references a foreign key
in Others edited by
521 views

1 Answer

0 votes
0 votes

The recursive foreign key is the key which refers back to the same table i.e. the foreign key is in the same table. So Parent and child table is the same.

For example :

Let's have a table Employee having to fields empID and managedbyempID, this both fields contain the employee id's(Both are employees)  from the same table. One act as a primary key and another one will act as a recursive foreign key.  

Related questions