Hi Guys
Should be a simple one this, but I just cant get my head round it..
Simple table in the format:
Ticker___ Date___ Close
JJB.L _08/04/2009 13.5
JJB.L _07/04/2009 12.75
JJB.L _06/04/2009 11
JJB.L _03/04/2009 10.75
JJB.L _02/04/2009 11
JJB.L _01/04/2009 10.75
JJB.L _31/03/2009 11.25
3 Fields
Ticker (text)
Date (Date)
Close (Number)
100+ ticker symbols with data going back a number of years. I need a query that pulls out the last 200 records for each Ticker so that I can then use the results to calculate moving averages.
Any help is much appreciated!
Thanks
Rob
Should be a simple one this, but I just cant get my head round it..
Simple table in the format:
Ticker___ Date___ Close
JJB.L _08/04/2009 13.5
JJB.L _07/04/2009 12.75
JJB.L _06/04/2009 11
JJB.L _03/04/2009 10.75
JJB.L _02/04/2009 11
JJB.L _01/04/2009 10.75
JJB.L _31/03/2009 11.25
3 Fields
Ticker (text)
Date (Date)
Close (Number)
100+ ticker symbols with data going back a number of years. I need a query that pulls out the last 200 records for each Ticker so that I can then use the results to calculate moving averages.
Any help is much appreciated!
Thanks
Rob
Last edited: