C
coedxiao via AccessMonster.com
I have one data source as following. Can I get the following calcualtion in
one qry?
select sum(ingred_cost) where priceing='mod' / sum(ingred_cost) where
durg_type='generic'
data:
pricing TYPE ingred_cost
awp BRAND 71835.65
awp GENERIC 7485.07
mod BRAND 162
mod GENERIC 9618.87
Thanks!
one qry?
select sum(ingred_cost) where priceing='mod' / sum(ingred_cost) where
durg_type='generic'
data:
pricing TYPE ingred_cost
awp BRAND 71835.65
awp GENERIC 7485.07
mod BRAND 162
mod GENERIC 9618.87
Thanks!