Experts Exchange Solution brought to you by
"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.
pat_mrn_id, pat_name, lob_name,
a_bucket_name, a_roll_status, a_roll_prd, a_benefit_amount, a_min_limit,
a_max_limit, a_max_remaining, a_status, a_pct_reached,
b_bucket_name, b_roll_status, b_roll_prd, b_benefit_amount, b_min_limit,
b_max_limit, b_max_remaining, b_status, b_pct_reached,
c_bucket_name, c_roll_status, c_roll_prd, c_benefit_amount, c_min_limit,
c_max_limit, c_max_remaining, c_status, c_pct_reached,
d_bucket_name, d_roll_status, d_roll_prd, d_benefit_amount, d_min_limit,
d_max_limit, d_max_remaining, d_status, d_pct_reached
select pat_mrn_id, pat_name, lob_name, bucket_name, roll_status, roll_prd, benefit_amount, min_limit, max_limit,
max_remaining, status, pct_reached, row_number() over(partition by PAT_MRN_ID order by PAT_MRN_ID, ROLL_PRD) rn
from tab1 t1
for rn in (1 as a,2 as b,3 as c,4 as d,5 as e,6 as f,7 as g,8 as h)
Open in new window
Managed service contracts are great - when they're making you money. Yes, you’re getting paid monthly, but is it actually profitable? Learn to calculate your hourly overhead burden so you can master your IT services pricing strategy.
Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.
From novice to tech pro — start learning today.
Members can enroll in this course at no extra cost.