This seems like it should be simple, but I can't figure it out! (Sorry, I am a newbie!)
I have a table called APPS that contains a number of fields:
RECORDNUM = the customer number assigned
CAPPNUM = the number assigned to an application
PROCDATE = the date of an application (of which there may be many for an individual RECORDNUM)
Basically the end result I want is to display a record number with the most recent application date (easy enough using the MAX function) but also the 2nd most recent application number.
Example:
12345 6/9/11 6/5/11
I can't figure out for the life of me what to put to get the 2nd newest application date ... I have tried to copy a few examples I found, but they seem to be more complicated than I need.
Any help? I APPRECIATE it a TON!