• Thank you, Chris. I got to learn the CROSS APPLY from your solution.

    Many thanks!