Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Selecting Top Record 1

Status
Not open for further replies.

mtepfer

IS-IT--Management
Apr 21, 2003
55
US
can have numerous inspection dates per client, want to select the top record from each client and display.

For instance may have :

ClientNo Name Type Date
1 Smith annual 2/1/08
1 Smith annual 2/1/07
1 Smith Initial 2/1/06
2 Doe Annual 12/7/07
2 Doe Initial 12/1/06

Only want to Display :

ClientNo Name Type Date
1 Smith annual 2/1/08
2 Doe Annual 12/7/07

Basically the first record based on the change of client number. How is this possible in SQL?
 
Thanks Alex, exactly what i needed. Sorry about the wrong forum, thought i had clicked programming, need to proof better before posting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top