Skip to content

Instantly share code, notes, and snippets.

@tistaharahap
Last active August 29, 2016 13:02
Show Gist options
  • Save tistaharahap/f1736c4c608dae1b3e2b67ae03848e98 to your computer and use it in GitHub Desktop.
Save tistaharahap/f1736c4c608dae1b3e2b67ae03848e98 to your computer and use it in GitHub Desktop.
MariaDB [fun]> EXPLAIN SELECT * FROM users WHERE first_name = 'Martin' AND last_name = 'David';
+------+-------------+-------+------+---------------+------+---------+------+------+-------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+------+-------------+-------+------+---------------+------+---------+------+------+-------------+
| 1 | SIMPLE | users | ALL | NULL | NULL | NULL | NULL | 10 | Using where |
+------+-------------+-------+------+---------------+------+---------+------+------+-------------+
1 row in set (0.00 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment