• I have a question about the composite index.

    Should a composite index be in the same order as it appears in the WHERE clause?

    For example, the composite index is (address_id, address_type) and my WHERE clause is like this: address_type=xxx AND address_id =1.

    Does the order like that affects the usage of composite index?

    Thanks

    Hendry