Dotsquares interview question

How sql indexing works