SELECT COUNT (?) AS `cnt` , `round` ( ( `performance_schema` . `events_statements_summary_by_digest` . `AVG_TIMER_WAIT` / ? ) , ? ) AS `avg_us` FROM `performance_schema` . `events_statements_summary_by_digest` GROUP BY `avg_us` 