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?
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?