so i have a main query below that i am using to join data from table 2 on person # (unique column), as well as year and month to bring in user name id, GL_ENTITY and GL_ENT