0
私はウィンドウ関数の使い方を学び、このSQL文に遭遇しました。SQLウィンドウのスコープ
select
...
sum(ss_ext_sales_price) * 100/sum(sum(ss_ext_sales_price)) over (partition by i_class) as revenueratio
from
...
where
...
group by
i_item_id,
i_item_desc,
i_category,
i_class,
i_current_price
私の質問はi_class
パーティションがこれらSUM
すべての機能3に適用されるかどうか、それらのいくつかはgroup by
グループを使用して計算されているかどうかです。