# 系统慢日志查询 (C)

+ 根据 SQL 指纹搜索同类慢查询:
  + 再根据 digest 确定同类慢查询:
```
select query, query_time
from information_schema.slow_query
where digest = "4751cb6008fda383e22dacb601fde85425dc8f8cf669338d55d944bafb46a6fa";
+------------------------------------+-----------------+
| query                              | query_time      |
+------------------------------------+-----------------+
| select * from t1 where a=1;        | 0.302558006     |
| select * from t1 where a=2;        | 0.401313532     |
+------------------------------------+-----------------+
```
-------------------------------------------------------------
根据 SQL 指纹搜索同类慢查询

再根据 digest 确定同类慢查询
```
select query, query_time
from information_schema.slow_query
where digest = "4751cb6008fda383e22dacb601fde85425dc8f8cf669338d55d944bafb46a6fa";
+-----------------------------+-------------+
| query                       | query_time  |
+-----------------------------+-------------+
| select * from t1 where a=1; | 0.302558006 |
| select * from t1 where a=2; | 0.401313532 |
+-----------------------------+-------------+
```