Creating getSponsorEmail SQLQuery