MCQ Single Best Answer Easy

QWhat is the purpose of the INDEX in a MySQL database?

ID: #15419 Introduction to MySQL Databases 99 views
Question Info
#15419Q ID
EasyDifficulty
Introduction to MySQL DatabasesTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A To define a primary key for a table
  • B To ensure data integrity
  • C To optimize query performance
  • D To enforce referential integrity
Correct Answer: Option C

Explanation

In MySQL, an INDEX is used to optimize the performance of queries by creating a data structure that allows for faster data retrieval. It helps in speeding up the search, sorting, and joining of tables.

Share This Question

Challenge a friend or share with your study group.