We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 09d1018 + 427fa9f commit 6b0a375Copy full SHA for 6b0a375
1 file changed
sp_QuickieStore/sp_QuickieStore.sql
@@ -10832,13 +10832,13 @@ SELECT
10832
total_query_wait_time_ms =
10833
SUM(qsws_with_lasts.total_query_wait_time_ms),
10834
avg_query_wait_time_ms =
10835
- SUM(qsws_with_lasts.avg_query_wait_time_ms),
+ AVG(qsws_with_lasts.avg_query_wait_time_ms),
10836
last_query_wait_time_ms =
10837
MAX(qsws_with_lasts.partitioned_last_query_wait_time_ms),
10838
min_query_wait_time_ms =
10839
- SUM(qsws_with_lasts.min_query_wait_time_ms),
+ MIN(qsws_with_lasts.min_query_wait_time_ms),
10840
max_query_wait_time_ms =
10841
- SUM(qsws_with_lasts.max_query_wait_time_ms)
+ MAX(qsws_with_lasts.max_query_wait_time_ms)
10842
FROM
10843
(
10844
SELECT
0 commit comments