Indexes allow queries to retrieve less data by focusing on the rows defined in the WHERE clause of a query. The first rule for designing good indexes is to retrieve as little data as possible to satisfy the query. Composite indexes that include columns used for equality first can greatly reduce the amount of data retrieved. However, once a column in a composite index is no longer used for equality, the index no longer helps reduce the data size.