Steven.Foy
Steve
- Local time
- Today, 06:19
- Joined
- Jul 15, 2004
- Messages
- 23
Wonder if anyone knows the answer....
i have a query which runs and produces a set of results. There are always greater than 5 results. i want to view these in a report, but i would like them presented as the TOP 4 and then a column containing all the other data added together.
i know i can use the TOP n statement in the sql to retuyrn only the top n number of results, but does anyone know how i can sum the remaining rows and give them the id (other?).
Am open to any ideas!
Also if anyone has any thoughts about the Sub totals query i asked about previously i'd be keen to hear from them!
i have a query which runs and produces a set of results. There are always greater than 5 results. i want to view these in a report, but i would like them presented as the TOP 4 and then a column containing all the other data added together.
i know i can use the TOP n statement in the sql to retuyrn only the top n number of results, but does anyone know how i can sum the remaining rows and give them the id (other?).
Am open to any ideas!
Also if anyone has any thoughts about the Sub totals query i asked about previously i'd be keen to hear from them!