SELECT C.Customer_ID, C.Name, Null,Null FROM Customer C UNION SELECT I.Customer_ID, Null, COUNT (I.Invoice_No) AS NumberOfInvoices, SUM (I.Total) AS SumOfTotal FROM Invoice I GROUP BY I.Customer_ID, C.Name
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)