So I take it instead of the result you'd see by

select type,count(*), sum(amt)
from ...
group by type

which would show you
'IN' 5 4.95

you want to see something like
Year Count Amt Count Amt Count Amt Count Amt
2012 5 4.95 100 33.65 1 10.95 77 36.95

The first, as shown, is quite easy. The second will take more work. Am I
on the right track?

Rob Berendt

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].