'Comparing 2 columns from different datasets

I am trying to compare the two columns named MNT_FORFAIT_DATA. The first one in the A table represents amount of Decembre. Second one represents the amount but in January. As the tables below shows Just so you know there is some clients that have only a december use so there wont be a value in the B table

A table B table



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source