Here is my current query:
select p.PARTNER_NAME, p.CARRIER, p.VERSION, p.TENVQUAL as TheirISA_Qual,p.TENVID as TheirISA_ID, p.OENVQUAL as OurISA_Qual, p.OENVID as Our