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 are temp tables ?

0 Answers  


What is the syntax of URL to get connection?

1 Answers  


What is database null and Java null?

1 Answers  


How to execute bulk number of queries at once?

3 Answers   Wipro,


What is jdbc odbc connection?

0 Answers  






What class.forname does, while loading the drivers?

0 Answers  


What is jdbc in java?

0 Answers  


How can I determine where a given table is referenced via foreign keys?

0 Answers  


Differentiate between stored procedure and functions?

0 Answers  


What is jdbc architecture?

0 Answers  


Explain in detail about JDBC and its general features?

0 Answers  


What is sqlwarning?

0 Answers  


Categories