Average Line Quantity
Logistics wants the average item quantity per line for each order: divide total qty for the order by its number of lines and round to 2 decimal places. Return order_id and avg_qty, sorted by order_id.
Kampjun tal-output mistenni
Dan hu kif tidher tweġiba korretta — l-għadd tar-ringieli huwa tiegħu stess, m'għandux għalfejn jaqbel mat-tabelli tal-iskema.
| avg_qty | order_id |
|---|---|
| 3.5 | 10 |
| 1 | 11 |
| 1.5 | 12 |
Idħol biex tara l-istorja tas-sottomissjonijiet
IdħolIdħol biex tuża l-Mentor tal-AI
Idħol