Examveda

The storage engine in MySQL that provides foreign key support is . . . . . . . .

A. TRANSACTION

B. InnoDB

C. MyISAM

D. MEMORY

Answer: Option B

Solution (By Examveda Team)

This question is about storage engines in MySQL. Storage engines are like different ways to store and manage your data.

One important feature is foreign key support. This means that the engine can enforce relationships between tables. Imagine you have a table of customers and a table of orders. Each order belongs to a customer. Foreign keys let you ensure that every order is linked to a real customer.

Out of the options, InnoDB is the storage engine that provides foreign key support.

Here's why the other options aren't correct:

* TRANSACTION: This isn't a storage engine, but a feature that InnoDB supports.
* MyISAM: MyISAM is another storage engine, but it does not support foreign keys.
* MEMORY: This storage engine is for temporary data and also doesn't support foreign keys.

So, the answer is Option B: InnoDB

This Question Belongs to MySQL >> MySQL Miscellaneous

Join The Discussion

Related Questions on MySQL Miscellaneous