River Interview Question

How do SQL indices work?