1.

Which Key is used to link two tables in Mysql?(a) Primary Key(b) Foreign Key(c) Both Primary and Foreign Key(d) None of the mentionedThis question was posed to me by my school teacher while I was bunking the class.This interesting question is from When Good Statements Go Bad topic in portion Query Optimization of MySQL

Answer»

The CORRECT option is (b) Foreign Key

The BEST I can explain: Foreign Key is only the Key which can LINK two tables.



Discussion

No Comment Found

Related InterviewSolutions