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

What do you understand by jdbc driver and explain its types?

0 Answers  


Is jdbc secure?

0 Answers  


What is JDBC?

3 Answers   Akamai Technologies,


What is the difference between jdbc and jndi?

0 Answers  


What is an escape syntax?

0 Answers  






How can we retrieve data from the resultset?

0 Answers  


what is rowset?

3 Answers   Marlabs,


How java can be connected to a database?

0 Answers  


What is execute in java?

0 Answers  


What is Apache DBCP API?

0 Answers  


What are the differences between statement and preparedstatement interface?

0 Answers  


How many ways that we can view a result set?

0 Answers  


Categories