Considere o seguinte comando e o resultado da execução do comando em um servidor MySQL:
EXPLAIN SELECT campo1 FROM tabela
WHERE campo2 = 'SP' AND campo3 > 5000;
id | 1 |
select_type | SIMPLE |
table | tabela |
type | range |
possible_keys | indice |
key | indice |
key_len | 5 |
ref | NULL |
rows | 2 |
Extra | Using where; Using index |
De acordo com as informações, é possível afirmar que