-- 1st
mysql> SHOW PROCESSLIST;
+----+-----------------+-----------+------+---------+--------+------------------------+--------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+----+-----------------+-----------+------+---------+--------+------------------------+--------------------------+
| 4 | event_scheduler | localhost | NULL | Daemon | 477650 | Waiting on empty queue | NULL |
| 21 | root | localhost | test | Query | 12 | User sleep | SELECT SLEEP(100) FROM t |
| 24 | root | localhost | test | Query | 8 | User sleep | SELECT SLEEP(100) FROM t |
| 26 | root | localhost | test | Sleep | 291 | | NULL |
| 27 | root | localhost | test | Query | 0 | starting | SHOW PROCESSLIST |
| 28 | root | localhost | test | Query | 5 | Sending data | SELECT * FROM t |
+----+-----------------+-----------+------+---------+--------+------------------------+--------------------------+
-- 2nd
mysql> SHOW PROCESSLIST;
+----+-----------------+-----------+------+---------+--------+------------------------+--------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+----+-----------------+-----------+------+---------+--------+------------------------+--------------------------+
| 4 | event_scheduler | localhost | NULL | Daemon | 477667 | Waiting on empty queue | NULL |
| 21 | root | localhost | test | Query | 29 | User sleep | SELECT SLEEP(100) FROM t |
| 24 | root | localhost | test | Query | 25 | User sleep | SELECT SLEEP(100) FROM t |
| 26 | root | localhost | test | Sleep | 4 | | NULL |
| 27 | root | localhost | test | Query | 0 | starting | SHOW PROCESSLIST |
| 28 | root | localhost | test | Killed | 22 | Sending data | SELECT * FROM t |
+----+-----------------+-----------+------+---------+--------+------------------------+--------------------------+