Can you define a foreign key, with a key from the same
table?
Answer Posted / 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 |
Post New Answer View All Answers
How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database?
What is database connection pooling? Advantages of using a connection pool?
Why is odbc needed?
What should be done for auto generating primary key id in a table ?
How are jdbc statements used?
What is the purpose of jdbc resultset interface?
What are the different types of statements? How we can you use preparedstatement.
What is resultsetmetadata?
Which is better odbc or jdbc?
Is oracle client required for jdbc connection?
What is the reason why we need a jdbcrowset like the wrapper around resultset?
Does jpa use jdbc?
Explain the locking system in jdbc?
What class.forname does, while loading the drivers?
What is the difference between executing, executequery, executeupdate in jdbc?