Hello,
I ve been struggling with this for a while now. i wonder if someone can help.
I have a table with the following data :
I would like to get the average of the fields (pw), with the 3 highest (ANum), in this case :
I've tried the following query using dcount to count the number of records in each field (jogoPla), and the result is OK, except for the fact that it takes 1 minute to execute this query alone
SELECT tblLastW_Pinn.jogoPla, Avg(tblLastW_Pinn.pw) AS MédiaDepw
FROM tblLastW_Pinn
WHERE (((tblLastW_Pinn.ANum)>DCount("[jogopla]","tblLastW_Pinn","[jogopla]=""" & [jogoPla] & """")-4))
GROUP BY tblLastW_Pinn.jogoPla;
Perhaps there is another way to make it faster
Thanks
I ve been struggling with this for a while now. i wonder if someone can help.
I have a table with the following data :
|
I would like to get the average of the fields (pw), with the 3 highest (ANum), in this case :
Almere City Fc - Telstar | 0,452523509 |
Aberdeen - Kilmarnock | 0,524472591 |
I've tried the following query using dcount to count the number of records in each field (jogoPla), and the result is OK, except for the fact that it takes 1 minute to execute this query alone
SELECT tblLastW_Pinn.jogoPla, Avg(tblLastW_Pinn.pw) AS MédiaDepw
FROM tblLastW_Pinn
WHERE (((tblLastW_Pinn.ANum)>DCount("[jogopla]","tblLastW_Pinn","[jogopla]=""" & [jogoPla] & """")-4))
GROUP BY tblLastW_Pinn.jogoPla;
Perhaps there is another way to make it faster
Thanks