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 receive a ResultSet from a stored procedure?
Is jdbc a protocol?
How do I find jdbc version?
What is resultset in jdbc with example?
What are the steps required to execute a query in jdbc?
How to move the cursor in scrollable resultset ?
How does jdbc driver work?
What is the role of the jdbc drivermanager class?
What is the use of callablestatement? Name the method, which is used to prepare a callablestatement.
What is jsp and jdbc?
What does jdbc do?
Explain the difference between resultset and rowset in jdbc
What is a datasource in java?
How to connect multiple database in jdbc?
Which Java and java.sql data types map to my specific database types?