Maybe you are looking for something like this example:
SELECT DATEADD("n", (DATEDIFF("n", 0, [DataRates].Time_Stamp)\15)*15, 0) AS [Time Block],
Avg([DataRates].Throughput) AS [Avg Rate]
FROM DataRates
GROUP BY DATEDIFF("n", 0, [DataRates].Time_Stamp)\15)*15
Useing the table DataRates it groups the Time_Stamp column in 15-minute intervals and averages the
Throughput column.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.