G
Guest
Okay, we'll break the problem into parts, hopefully solving one part at a
time.
As John suggested, it's necessary to have a separate query that handles the
aggregates. Here it is, Aggregates query:
SELECT Avg([Mean]) AS AvgMean, StDev([Mean]) AS StDevMean
FROM C239;
So, having this first query, we can proceed on to a second query:
SELECT C239.*, [Mean]-[AvgMean]/[StDevMean] AS ZMean
FROM C239, Aggregates
WHERE ((([Mean]-[AvgMean]/[StDevMean])>=2));
My question now is: Can I combine these two queries into a **single** SQL
process?
Thanks,
Nicholas
time.
As John suggested, it's necessary to have a separate query that handles the
aggregates. Here it is, Aggregates query:
SELECT Avg([Mean]) AS AvgMean, StDev([Mean]) AS StDevMean
FROM C239;
So, having this first query, we can proceed on to a second query:
SELECT C239.*, [Mean]-[AvgMean]/[StDevMean] AS ZMean
FROM C239, Aggregates
WHERE ((([Mean]-[AvgMean]/[StDevMean])>=2));
My question now is: Can I combine these two queries into a **single** SQL
process?
Thanks,
Nicholas