--This will work
--=============================================
select a.cust_name, a.cust_num, max(b.cust_amt), c.cust_cat
from a, b, c
where a.cust_num = b.cust_num and b.cust_num = c.cust_num
GROUP BY a.cust_name, a.cust_num, c.cust_cat
order by a.cust_name asc...
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.