Getting the most recent value

  • Thread starter Thread starter Anthony Viscomi
  • Start date Start date
A

Anthony Viscomi

Below is a snapshot of 2 fields within a table that I am trying to query:


PRIMUM PRIOBS
110966001 11847
110966001 9285
110966001 11758

I would like to create a query that outputs the largest PRIOBS for each
PRIMNUM and I am not quite sure how to go about this.

Any thoughts?
Thanks!
Anthony
 
Thanks!
Ken Snell said:
SELECT PRIMUM, Max([PRIOBS]
FROM TableName
GROUP BY PRIMUM;

--

Ken Snell
<MS ACCESS MVP>

Anthony Viscomi said:
Below is a snapshot of 2 fields within a table that I am trying to query:


PRIMUM PRIOBS
110966001 11847
110966001 9285
110966001 11758

I would like to create a query that outputs the largest PRIOBS for each
PRIMNUM and I am not quite sure how to go about this.

Any thoughts?
Thanks!
Anthony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top