Q. Which keyword is used to define a foreign key in MySQL?

  • (A) EXTERNAL KEY
  • (B) FOREIGN KEY
  • (C) REF KEY
  • (D) LINK KEY
πŸ’¬ Discuss
βœ… Correct Answer: (B) FOREIGN KEY
Explanation: `FOREIGN KEY` enforces referential integrity between two related tables.
Explanation by: Mr. Dubey
`FOREIGN KEY` enforces referential integrity between two related tables.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
71
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate