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 many types of jdbc drivers are available?

0 Answers  


What is a statement in java?

0 Answers  


how can we get the metaData (columnNames) from a table which has no Records..

2 Answers  


What is jdbc odbc connection?

0 Answers  


What are the Normalization Rules?

2 Answers  






What is represented by the connection object?

0 Answers  


Is jdbc connection secure?

0 Answers  


What is sqlwarning and discuss the procedure of retrieving warnings?

0 Answers  


Differentiate between a statement and a preparedstatement.

0 Answers  


Are there any ODBC drivers that do not work with the JDBC- ODBC Bridge?

2 Answers  


What is meant by connection string?

0 Answers  


What is database deadlock ? How can we avoid them?

0 Answers  


Categories