SELECT tblCustomer.Name, tblCustomer.Address, tblCustomer.Email, TblInvoice.Amt,Dateofpurchase
FROM tblCustomer INNER JOIN
TblInvoice ON tblCustomer.Cid = TblInvoice.Cid
order by TblInvoice.Cid
compute max(TblInvoice.DateOfpurchase),sum(TblInvoice.Amt) by TblInvoice.Cid
Showing posts with label Sum Amt and Max date of each employer. Show all posts
Showing posts with label Sum Amt and Max date of each employer. Show all posts
Saturday, July 3, 2010
Subscribe to:
Posts (Atom)