A
Amin
Hi,
So this is my code:
SELECT (EVENTTIME\10000)+1 AS TimeInterval, Round(Count(ID)/3,0) AS Workloads
FROM table
GROUP BY (EVENTTIME\10000);
This produces the following:
TimeInterval Workloads
6 100
7 300
8 450
9 350
10 500
What I would like to do is insert a row at the end that will sum the
workloads for the entire day, without having to create a new query. So it
would look like this:
TimeInterval Workloads
6 100
7 300
8 450
9 350
10 500
"total" 1700
Can this be done? Whenver I try to SUM(COUNT(... I get an error. Thanks for
any thoughts in advance!
Amin
So this is my code:
SELECT (EVENTTIME\10000)+1 AS TimeInterval, Round(Count(ID)/3,0) AS Workloads
FROM table
GROUP BY (EVENTTIME\10000);
This produces the following:
TimeInterval Workloads
6 100
7 300
8 450
9 350
10 500
What I would like to do is insert a row at the end that will sum the
workloads for the entire day, without having to create a new query. So it
would look like this:
TimeInterval Workloads
6 100
7 300
8 450
9 350
10 500
"total" 1700
Can this be done? Whenver I try to SUM(COUNT(... I get an error. Thanks for
any thoughts in advance!
Amin