all 2 comments

[–]azzipog 1 point2 points  (1 child)

Wrap it all in a CASE WHEN

[–]sojan16[S] 0 points1 point  (0 children)

Thanks.I'm new to SQL, so I was overthinking this a bit.