I have this query below where I get the sum of the insurance type. How can I get the sum of Basic, Option 1, and Voluntary 2 and name it with Short-Term? Thanks for all the help.

I have this query below where I get the sum of the insurance type. How can I get the sum of Basic, Option 1, and Voluntary 2 and name it with Short-Term? Thanks for all the help.

Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit MohantyPosted Aug 31, 2023, 9:35 AM
To get the sum of the insurance types "Basic," "Option 1," and "Voluntary 2" and name it as "Short-Term," you can use a CASE statement to categorize the different insurance types and then group by the new category.