In MySQL, the leftmost prefix is applicable in the case of multi-column Index, mentioned in
- https://dev.mysql.com/doc/refman/8.0/en/mysql-indexes.html
- https://dev.mysql.com/doc/refman/8.0/en/multiple-column-indexes.html
Say an Index is made of (col1, col2, col3). Combinations Eligible for Index Search:
- (col1)
- (col1, col2)
- (col1, col2, col3)
Combinations Not Eligible for Index Search:
- (col2)
- (col2, col3)
- (col3)
Does SQL Server uses the same rule for Index Seek mechanisms too? Is there an official document that I can refer to? I have tried searching it around but no luck :( Thanks in advance everyone!