Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 259
  • Last Modified:

SQL Context

I have a table with records of buildings and their inspection dates.  Some buildings have been inspected multiple times.  I want to return each building and the latest inspection date.  Not sure if distinct and max are the ways to return each building once and the largest building date.  Any help would be appreciated.
0
mounty95
Asked:
mounty95
  • 2
  • 2
1 Solution
 
jmro20Commented:
Try this:
0
 
mounty95Author Commented:
Nothing there to try...
0
 
jmro20Commented:
The work didnt show, so i used an image SQL Code
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
that would work, in this article are other options:
http://www.experts-exchange.com/A_3203.html
0
 
mounty95Author Commented:
Thank you very much!!!!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now