I need an one step sql statement to retrieve a report
from 3 tables: CLIENT, TRANSACTIONS, PAYMENTS. The link
field is CLIENT_ID. For each client I need to sum all
the amounts found in the TRANSACTIONS and PAYMENTS tables.
It works fine if I (left) join the CLIENT with one of the other tables...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.