I've created composite indexes (indices for you mathematical folk) on tables before with an assumption of how they worked. I was just curious if my assumption is correct or not.
I assume that when you list the order of columns for the index, you are also specifying how the indexes will be grouped. For instance, if you have columns a
, b
, and c
, and you specify the index in that same order a ASC
, b ASC
, and c ASC
then the resultant index will essentially be many indexes for each "group" in a
.
Is this correct? If not, what will the resultant index actually look like?