hello I need to create an aggregate function that will give me the product of my results
for example
I have a table with the following info
State City Data
PA Philly .9
PA St College .8
I want to create a query grouped on the state that will give the product of .8 and .9
end result should be
State Product of Data
PA .72
I know how to create a function but how can I make it an aggregate function (like the SUM function
Thanks alot
for example
I have a table with the following info
State City Data
PA Philly .9
PA St College .8
I want to create a query grouped on the state that will give the product of .8 and .9
end result should be
State Product of Data
PA .72
I know how to create a function but how can I make it an aggregate function (like the SUM function
Thanks alot