SELECT VendorName, COUNT(*) as Total_Invoices
FROM Invoices JOIN Vendors ON Invoices.VendorID = Vendors.VendorID
WHERE Vendors.VendorName = 'IBM'
GROUP BY VendorName
ORDER BY Total_Invoices DESC
育ててくれる
VendorName Total_Invoices
IBM 2
私はちょうどそれが言うようにそれを作りたいです
Total_Invoices
2
IBM VendorName は表示されませんが、IBM からの合計請求書は引き続きカウントされます