I do not see it in the original code you posted so that is why I am confused then.
SELECT WAVE3_PC_DL.UPC, mid([WAVE3_PC_DL.UPC],7,6) as ShortUPC, WAVE3_PC_DL.UPC, WAVE3_PRODS.PC, WAVE3_PRODS.PDESC, WAVE3_PC_CATS.CAT_DESC, WAVE3_PC_DL.DEPT, UPC.Date
FROM ((WAVE3_PC_CATS LEFT JOIN...