Skip to content
Theory · Indexes Beyond the B-tree · lesson 11 of 14

Covering indexes

The manager calls the clerk: "When were the last three orders at the second shop?" The clerk opens the index by shop and time. The answer is already written on the cards: the shop number and the order time. There is no need to open the ledger itself.

In this lesson

  • The answer straight from the index
  • The visibility map
  • Key or INCLUDE
  • The next page
  • Common mistake
  • Key points