troubleshooting Question

SQL Server 2008

Avatar of VasuSidhu
VasuSidhu asked on
Microsoft SQL ServerMicrosoft SQL Server 2005Microsoft SQL Server 2008
3 Comments1 Solution428 ViewsLast Modified:
I have a table in sql with 3 columns.

File#      Status      Exportdate
1      a      1-Jul
1      s      9-Jul
1      d      11-Jul
1      f      13-Jul
1      g      15-Jul
1      h      10-Aug
1      j      20-Aug
2      f      2-Jul
2      a      11-Jul
2      s      31-Jul
2      d      9-Aug


I want the status of the file having last date.
for eg the output of the query should be

File#      Status      ExportDate
1      j      20-Aug
2      d      9-Aug
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros