R
Robert Gillard
I have a data base that imports data from another system each month. (approx
1200 rows per month). Because of the way the system works it does not just
add the current month to the bottom of the table, but repopulates the table
from month1 (Aug 2003 - this is because certain fields may have changed as
volumes relate to adverse reactions that have arisen because of actions
taken on a certain date.)
Because of the volume of data in the table, I need to extract just the top
25 rows each month ie those with the highest score in column3. Whilst I can
get the top 25 rows for the current month, or I can get the top row (one row
only) for each month from Aug03 to date, I do not seem to be able to combine
the 2 queries and get the top 25 rows every month since Aug03.
Is it possible to get back the information as detailed above, or does anyone
have any thoughts on a best solution to this issue.
1200 rows per month). Because of the way the system works it does not just
add the current month to the bottom of the table, but repopulates the table
from month1 (Aug 2003 - this is because certain fields may have changed as
volumes relate to adverse reactions that have arisen because of actions
taken on a certain date.)
Because of the volume of data in the table, I need to extract just the top
25 rows each month ie those with the highest score in column3. Whilst I can
get the top 25 rows for the current month, or I can get the top row (one row
only) for each month from Aug03 to date, I do not seem to be able to combine
the 2 queries and get the top 25 rows every month since Aug03.
Is it possible to get back the information as detailed above, or does anyone
have any thoughts on a best solution to this issue.