Files
percona-toolkit/t/pt-visual-explain/samples/impossible_where.sql
2011-06-24 16:02:05 -06:00

10 lines
796 B
SQL

mysql> explain select * from sakila.film where film_id between 5 and 4;
+----+-------------+-------+------+---------------+------+---------+------+------+-----------------------------------------------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+-------+------+---------------+------+---------+------+------+-----------------------------------------------------+
| 1 | SIMPLE | NULL | NULL | NULL | NULL | NULL | NULL | NULL | Impossible WHERE noticed after reading const tables |
+----+-------------+-------+------+---------------+------+---------+------+------+-----------------------------------------------------+
1 row in set (0.01 sec)
mysql> notee