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

Why can't Tomcat find my Oracle JDBC drivers in classes111.zip?

0 Answers  


What is jdbc connection?

0 Answers  


What is meant by jdbc and odbc?

0 Answers  


JDBC Drivers properties?

1 Answers   Infosys,


What is setautocommit in jdbc?

0 Answers  






what are the types of result sets in JDBC 3.0 ?

3 Answers   HCL,


What is jdbc thin client?

0 Answers  


Is the JDBC-ODBC Bridge multi-threaded?

2 Answers   Wipro,


Does jpa use jdbc?

0 Answers  


Difference between servlet and applet method?

3 Answers  


What are different types of transactions?

2 Answers   HCL,


What causes no suitable driver error?

0 Answers  


Categories