I\'ve put together the following SQL that works and gives the expected result that I\'m looking for, with the 2 test cases I have.
I\'m wondering, however, is there a