How do composite indexes work?
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
c, and you specify the index in that same order
b ASC, and
c ASC then the resultant index will essentially be many indexes for each "group" in
Is this correct? If not, what will the resultant index actually look like?