G
Guest
I have a query involving 23,000+ records (where 5 numbers are averaged per
record). Is there any way to speed up the process?
Thanks.
record). Is there any way to speed up the process?
Thanks.
A said:My subquery looks like this:
SELECT T1.Earnings.PIN, T1.End_date, T1.Earnings
FROM Queryavgearn AS T1
WHERE 5 >= ( SELECT COUNT(*) FROM Queryavgearn WHERE Earnings.PIN =
T1.Earnings.PIN AND [End_date] >= T1.[End_date])
ORDER BY Earnings.PIN DESC;
The next query looks like this:
SELECT Querylastfiveyears.PIN, Avg(Querylastfiveyears.Earnings) AS
AvgOfEarnings
FROM Querylastfiveyears
GROUP BY Querylastfiveyears.PIN
WITH OWNERACCESS OPTION;
I've tried running the last query before...after a day and a half it still
wasn't finished (my computer is less than 6 months old and I'm using
Access
2003). Is it just a matter of having to process a lot of data or is there
something I can do to speed it up? I've tried indexing but that doesn't
seem
to have helped very much.
A said:I have a query involving 23,000+ records (where 5 numbers are averaged
per
record). Is there any way to speed up the process?
Thanks.
A said:My subquery looks like this:
SELECT T1.Earnings.PIN, T1.End_date, T1.Earnings
FROM Queryavgearn AS T1
WHERE 5 >= ( SELECT COUNT(*) FROM Queryavgearn WHERE Earnings.PIN =
T1.Earnings.PIN AND [End_date] >= T1.[End_date])
ORDER BY Earnings.PIN DESC;
The next query looks like this:
SELECT Querylastfiveyears.PIN, Avg(Querylastfiveyears.Earnings) AS
AvgOfEarnings
FROM Querylastfiveyears
GROUP BY Querylastfiveyears.PIN
WITH OWNERACCESS OPTION;
I've tried running the last query before...after a day and a half it still
wasn't finished (my computer is less than 6 months old and I'm using
Access
2003). Is it just a matter of having to process a lot of data or is there
something I can do to speed it up? I've tried indexing but that doesn't
seem
to have helped very much.
A said:I have a query involving 23,000+ records (where 5 numbers are averaged
per
record). Is there any way to speed up the process?
Thanks.