Right Joins are seldom if ever required, as they effectively are the same as a Left join, just with the precedence based on the Join order.
It's quite hard to see what you are trying to achieve without some sample data and your expected results, but suspect you really want to use a
window...