I have two tablesclients-------clientid clientname-------- ----------1 Bill Smith2 Steve Murray3 Candice WellsPayments--------clientid date amount-------- ---- ------2 02/03/2008 120.251 02/05/2008 112.001 02/07/2008 115.001 02/12/2008 116.50
I want to return the clientname from the clients table for any client(s) that have made any payments to give:clientname payments---------- --------Bill Smith 3Steve Murray 1Candice Wells 0
How do I do this please?