Pusher interview question

Why indexes are used in databases?