В этих обстоятельствах типично наличие таблицы поставщиков, которую вы не упоминаете
SELECT v.Vendor
, purch.PurchasedTotal
, paid.PaidTotal
, (COALESCE(purch.PurchasedTotal, 0) - COALESCE(paid.PaidTotal, 0)) AS "(Purchased - Paid)"
FROM Vendors v
LEFT JOIN ( SELECT Vendor, SUM(Quantity * Price) AS PurchasedTotal
FROM purchases
GROUP BY Vendor
) purch ON v.Vendor = purch.Vendor
LEFT JOIN ( SELECT Vendor, SUM(Paid) AS PaidTotal
FROM paysup
GROUP BY Vendor
) paid ON v.Vendor = paid.Vendor
;