Small question,
If I know I will have queries like:
WHERE colA = 'XXX'
AND colB = 'YYY'
AND colC = 'ZZZ'
WHERE colA = 'XXX'
WHERE colB = 'YYY'
WHERE colC = 'ZZZ'
but I know I will NOT have any partial usage of columns like:
WHERE colA = 'XXX'
AND colB = 'YYY'
Then I only need to create a single index on (colA, colB, colC) right?
And if I did have a 2-column WHERE conditions using the above example, then I would want to make additional indexes for (colA, colB) (colB, colC) (colA, colC) right?