ok. i have a table called Partner which holds all info for a partner: partnerid, startdate, enddate, startamount etc.
i have a table called payments which has three fields, partnerid, amount and paymentdate.
i want to pull all information for partner as well as sumofamount, countofPartnerid...