+------+------------+ | :sid | :total_qty | +------+------------+ | S1 | 1300 | | S2 | 700 | | S3 | 200 | | S4 | 900 | +------+------------+