Select LTrim(RTrim(a.eeds_emp_id)) from whatever && Select Max(campaign_key) from whatever......