#1064

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.

Uzorak očekivanog izlaza

Ovako izgleda ispravan odgovor — broj redaka je njegov vlastiti, ne mora se podudarati s tablicama sheme.

avg_qtyorder_id
3.510
111
1.512

Ovdje će se pojaviti rezultat tvog upita