我想做这样的事情:
select sum(nvl(total_time_out, 0)),
sum(nvl((case when day_of_week = 'Mon' then total_time_out else 0 end) over (partition by person_id), 0))
from xxpay_tna_summary_v
where person_id = 7926
其中第二列仅返回星期一的总超时时间的总和。这在 Oracle SQL 中是否可行,正确的语法是什么?