Skip to content
RED SAGSkills
easy5 pts · first answer countssqldatabase-indexing

Purpose of a database index

Your query SELECT * FROM orders WHERE customer_id = 42 is slow on a table with 10 million rows. What does adding an index on customer_id mainly do?

Choose one answer