Skip to content
Exercise · Indexes and query plans · lesson 11 of 11

Exercise: case-insensitive customer search

A cashier types a customer's name any way at all: anna, ANNA, Anna. So the search is written like this: WHERE lower(name) = 'anna'. Create an index on the customers table that this query can search through. Choose the index name yourself.