I'm having problems figuring out how to "Combine" two different queries.
I have the following two queries that I've written:
SELECT DISTINCT RecordType, InvoiceNumber, DeviceNumber, ChargeCode FROM tblDetail ORDER BY DeviceNumber, ChargeCode;
Select COUNT(CallDesc), SUM(TtlCallChgs) AS TotalUsageCharge FROM tblDetail Group By DeviceNumber;
How can I combine these two records that I get a count and a sum added to the first query.
Thanks,
CR Junk
I have the following two queries that I've written:
SELECT DISTINCT RecordType, InvoiceNumber, DeviceNumber, ChargeCode FROM tblDetail ORDER BY DeviceNumber, ChargeCode;
Select COUNT(CallDesc), SUM(TtlCallChgs) AS TotalUsageCharge FROM tblDetail Group By DeviceNumber;
How can I combine these two records that I get a count and a sum added to the first query.
Thanks,
CR Junk