Problem with Query

Hello!

I need to help with stamement - I have several pallets witch are blocked form some itemdId. And I need to get sum from PhysicalInventQty from all of this pallet. How to write statement correctly::? How to join inventSum and WMSpallet table?