select c.id,c.Description,c.WarehouseKey,a.id,a.Description,a.IsDeleted,b.InStockQuantity,b.AvailableQuantity
from invproduct a(no lock) ,
InvInventoryItem b(no lock) ,
InvWarehouse c(no lock)
where a.productkey=b.productkey
and b.WarehouseKey=c.WarehouseKey
and c.id= 'put warehouse id'
order by c.id,c.Description,c.WarehouseKey,a.id,a.Description