Q. Which of the following is a valid way to create an index?

  • (A) CREATE KEY idx_name ON table(column);
  • (B) MAKE INDEX idx_name ON table(column);
  • (C) CREATE INDEX idx_name ON table(column);
  • (D) SET INDEX ON table(column);
πŸ’¬ Discuss
βœ… Correct Answer: (C) CREATE INDEX idx_name ON table(column);
Explanation: `CREATE INDEX` is the correct syntax to create an index in MySQL.
Explanation by: Mr. Dubey
`CREATE INDEX` is the correct syntax to create an index in MySQL.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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