Marcelo
assuming you have a client table and a payment table
SELECT Client.Cl_ref FROM client ;
WHERE Client.Cl_ref NOT IN (SELECT cl_ref FROM payment)
That would give you clients who had never ever paid so you need to add some dates to the selection from the payment table to restrict it to your desired period .
Nick Mason
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only