Case When issue

No problem :).

Please read the links in this post to understand SQL and Projected aggregation:
https://bobj-board.org/t/154737


Mak 1 :uk: (BOB member since 2005-01-06)