MySQL
現在のプロセスで実行時間が最も長いプロセスの抽出 [#lcb8b587]
select ID,TIME,STATE from INFORMATION_SCHEMA.PROCESSLIST ORDER BY TIME;
追加で1つだけ--> desc limit 1;
MySQL
select ID,TIME,STATE from INFORMATION_SCHEMA.PROCESSLIST ORDER BY TIME;
追加で1つだけ--> desc limit 1;