Finding data for the latest date

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi again,
Ok, new question. I need to find information for the last milestone passed.
Now I have a table like this
Main table:
ID | Other stuff ....

Secondary table

ID | MILESTONE | DATE PASSED
1 1 1/20/98
1 2
1 3

The Only indication that a milestone has been passed is if there is a date
in the DATE_PASSED field. So I need a query that displays:

ID | Other info | Last Milestone passed

Now there is a possible that none of the milestones have been passed, in
which case i would just like a NULL field to appear. Any help in doing this
in the query editor or SQL will be awesome. Thanks


Mark
 

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