Trouble getting distinct results (SOLVED)

@tony-brunsman I actually figured it out with my first approach. I just had a dumb typo in there.