I am need of help to solve this problem.
There are three tables that are being referenced to get the final output but the output is needed in a very specific way.