Things I got wrong about SQL indexes
A short list of things I got wrong about SQL indexes. Writing a tiny test first made most of them obvious. Naming things clearly helped more than any clever trick.
Next time I will start with the boring solution and see if it is enough. Mostly a note for future me.