Skip to content

Instantly share code, notes, and snippets.

@tistaharahap
Created August 26, 2016 18:48
Show Gist options
  • Save tistaharahap/20aa7f8f5a14866abe90ab189d4011c5 to your computer and use it in GitHub Desktop.
Save tistaharahap/20aa7f8f5a14866abe90ab189d4011c5 to your computer and use it in GitHub Desktop.
MariaDB [fun]> EXPLAIN SELECT * FROM users WHERE last_name = 'Harahap';
+------+-------------+-------+------+---------------+------+---------+------+------+-------------+
| 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