Advantages? and why not just index fields separately? can any body explain me in simple terms.
If you have to query using a composite WHERE (say on two different fields) a composite index should be faster than having two single indexes... This is a general answer, anyway you should analyze any single query...
If you have to query using a composite WHERE (say on two different fields) a composite index should be faster than having two single indexes...
This is a general answer, anyway you should analyze any single query...