on 06-24-2010 4:39 AM
I have a list of records with date and total as below:
Date Total
3 May 0
5 May 2
5 May 3
5 May 8
6 May 2
6 May 4
If i only want to select records with highest total for each date, how would l do the record selection?
This is what i want to do:
Date Total
3 May 0
5 May 8
6 May 4
Appreciate some feedback. Thanks.
you can have this directly in your query
select date, max(total)
...
group by date
as every report is based on the query
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.