I have an SQL command in my query in Excel. I'm not sure if this is possible, but can you put 2 commands in 1 query? 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 got this code to work separately, but I don't know how to combine them. Is there a way to do this?