By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
supplier_id | name |
---|---|
1 | Supplier#0000001 |
2 | Supplier#0000002 |
4 | Supplier#0000003 |
3 | Supplier#0000004 |
order_id | shippingmethod | supplier |
---|---|---|
1 | TRUCK | 1 |
2 | 2 | |
3 | REG AIR | 3 |
4 | REG AIR | 5 |
5 | RAIL | 3 |
shippingmethod | suppliername | AMOUNT |
---|---|---|
Supplier#0000002 | 1 | |
RAIL | Supplier#0000004 | 1 |
REG AIR | Supplier#0000004 | 1 |
TRUCK | Supplier#0000001 | 1 |