Single Choice Easy

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

ID: #15419 Introduction to MySQL Databases 125 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

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.

Today: 0 answered · 0 correct
Save progress
Free account

Want to remember what you got wrong?

Create a free account in seconds to track your score, revisit mistakes and continue Deprecated -Subject Database Management System where you left off.

  • Save your progress & streak
  • Topic-wise quizzes & scores
  • Bookmark tricky questions
  • Printable MCQ sets
Practice smarterFree account · save progress
Sign up free

Share This Question

Challenge a friend or share with your study group.