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


Please Help Members By Posting Answers For Below Questions

How can you use preparedstatement in jdbc?

510


What is com mysql jdbc driver?

493


Name the types of jdbc drivers.

539


What is the full form of jdbc?

487


How to test jdbc connection to sql server?

490






What are clob and blob data types in jdbc?

555


Explain the difference between resultset and rowset in jdbc

527


Is it possible to connect to multiple databases simultaneously?

543


What does jdbc stand for?

500


Does jdbc require oracle client?

516


What are the classes and methods used for sending sql statements to database?

534


How do I check in my code whether a maximum limit of database connections have been reached?

574


Can we have foreign key reference to a non primary key column ?

521


What port does jdbc use?

487


What is resultset?

563