Pulling SQL to Leads - Not working

@PamCotton, @TomM2 and @DanielSanchez just wondering if you could look at this again? Thanks