Nice catch! In the real world I’ll create indexes across more than one column, as you’ve described. But in the interests of simplicity kept it to just one in the examples
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.