G
Guest
I have a table that's as follows.
Report Table
ReportAN bigint (autonumber),
ClientId int,
BureauAN tinyint
DateEntered smalldatetime,
The ClientId is our customer, they will have several reports in this table. I need to get the most recent report for each client for each bureau. There are several bureaus so my output will look something like this.
ReportAN, ClientId, BureauAN, DateEntered
4, 2, 2, 6/10/2004
6, 2, 3, 6/1/2004
7, 3, 2, 6/5/2004
What would my select statement look like for this? Thanks.
Report Table
ReportAN bigint (autonumber),
ClientId int,
BureauAN tinyint
DateEntered smalldatetime,
The ClientId is our customer, they will have several reports in this table. I need to get the most recent report for each client for each bureau. There are several bureaus so my output will look something like this.
ReportAN, ClientId, BureauAN, DateEntered
4, 2, 2, 6/10/2004
6, 2, 3, 6/1/2004
7, 3, 2, 6/5/2004
What would my select statement look like for this? Thanks.