top 2 records for groups in query?

G

Guest

TIA:

I'm trying to return the last 2 records for each group of records from a
table ie.

I have a table for employees with salary history (records of date and
salary) and want % increase of current salary, thus need last 2 records for
each employee. Tried top 2 values for summary query for dates and employee
but only get top 2 dates; not top 2 for each employee...

Any solutions? Thanks, Joel
 

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

Top