Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> group by problems
I cannot get oracle to accept this query with the group by. any
suggestions?
SELECT A.PICKTICKET_STATUS STATUS,
A.TOTAL_QUANTITY -A.QUANTITY_REMOVED -A.QUANTITY_CANCELED
H_QTY_TO_SHIP,
A.QUANTITY_PICKED H_QTY_PICKED ,A.QUANTITY_SCANNED H_QTY_SCANNED ,
A.QUANTITY_SHIPPED H_QTY_SHIPPED,
sum(B.TOTAL_QTY - B.REMOVED_QTY - B.CANCELED_QTY ) D_QTY_TO_SHIP,
sum (B.PICKED_QTY) D_QTY_PICKED, sum(B.SCANNED_QTY) D_QTY_SCANNED, sum(B.SHIPPED_QTY) D_QTY_SHIPPED
WHERE A.WHSE = '&&whse' and A.pickticket_no = '&&pickticket_no' and b.whse = a.whse and b.problem_no = a.problem_no and b.trailer_seq_no = a.trailer_seq_nogroup by a.pickticket_status;
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Wed Apr 05 2000 - 16:56:00 CDT
![]() |
![]() |