Zero in stock is not the same as no row

SQLHard14 min

Your task

Return every item with the total quantity across all warehouses as sku and total. An item nobody stocks at all still appears, with 0. Order by sku.

Tables

warehouse
idINTEGERcityTEXTcountryTEXT
1RotterdamNL
2MemphisUS
3OsakaJP
item
idINTEGERskuTEXTnameTEXTunit_centsINTEGER
1KB-1Keyboard4900
2MS-2Mouse2500
3MN-3Monitor19900
4CB-4Cable900
5HD-5Headset5900
stock
warehouse_idINTEGERitem_idINTEGERquantityINTEGER
1140
120
1312
215
24300
337
More rows not shown