Can you define a foreign key, with a key from the same
table?




Answers were Sorted based on User's Feedback



Can you define a foreign key, with a key from the same table?..

Answer / abhay

No, foreign key in a table is a reference from another
table, making a key foreign in the table itself will not be
useful for anything since the table will reference itself
during a query

Is This Answer Correct ?    4 Yes 0 No

Can you define a foreign key, with a key from the same table?..

Answer / samsudeen

Foreign key is a reference key of the Database.
if u set the foreing key refernece to the table, its make
the relation between two table.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer




More JDBC Interview Questions

How to use JDBC API to call Stored Procedures?

0 Answers  


What are the differences between resultset and rowset?

0 Answers  


What is in term of jdbc a datasource?

0 Answers  


Name the types of jdbc drivers.

0 Answers  


What is jdbc driver for sql server?

0 Answers  






What are the utilities of the callablestatement?

0 Answers  


What is jdbc thin client in oracle?

0 Answers  


How can you load the drivers?

0 Answers  


What are the different types of interfaces in the api component?

0 Answers  


What is SQL Warning? How to retrieve SQL warnings in the JDBC program?

0 Answers  


Explain the two tier and three tier architecture of jdbc.

0 Answers  


Why we use jdbc instead of odbc?

0 Answers  






Categories