nuttychick
Registered User.
- Local time
- Today, 10:10
- Joined
- Jan 16, 2004
- Messages
- 84
Hiya,
Not sure if this is possible via a query.
I have a table containing RAG information for studies, and I simply want to retrieve not the last record for each study, but the one before last.
One of my customers would like a report (athough big report so will just be a query exported to excel) that shows the last RAG and the one previous for each study.
Can I do this in a query?
here is the SQL code for my query so far (creating this section first and will add it to the big query after)
Not sure if this is possible via a query.
I have a table containing RAG information for studies, and I simply want to retrieve not the last record for each study, but the one before last.
One of my customers would like a report (athough big report so will just be a query exported to excel) that shows the last RAG and the one previous for each study.
Can I do this in a query?
here is the SQL code for my query so far (creating this section first and will add it to the big query after)
Code:
SELECT tblRAGData.ID, tblRAGData.Overall, tblRAGData.[Study Code] FROM tblRAGData;