for example: if there are two WHERE clause: WHERE stringA="va开发者_如何学编程lue" AND intB=1.
In a simple query like that, no. MySQL will attempt to process the most restrictive filters in priority order, taking any indexes into account.
When you get into complex queries that joins or nested selects, there can be a real art to how you place the query conditions to best restrict the number of rows that need to be joined.
精彩评论