create table in excel using sql
23.09.2022 13:30:03
billy21
I have:
SELECT TALLY_TRAN_MSTR.LOGON_ID, SUM(TALLY_TRAN_MSTR.FULL_PLLT_QTY), TALLY_TRAN_MSTR.SHIFT_DT
FROM WBR_RW.TALLY_TRAN_MSTR
GROUP BY TALLY_TRAN_MSTR.LOGON_ID, TALLY_TRAN_MSTR.SHIFT_DT
and
SELECT TALLY_TRAN_MSTR.PRI_GRP_CD
WHERE (TALLY_TRAN_MSTR.PRI_GRP_CD = "PUT")
I was able to get this code to operate independently, but I'm not sure how to integrate them. Is there a way to accomplish this?