I have problems understanding how to group with multiple tables, if i were to have a single table i can make it work, but not with two this is my problem bellow:
SELECT oc.custID, oc.custfirstname, oc.tankcap, oc.housetype,
MIN(AVG(oh.fall)) FROM oil_cust oc, oil_houset oh GROUP BY oh.fall;
And this is the output that i get:
SELECT oc.custID, oc.custfirstname, oc.tankcap, oc.housetype,
*
ERROR at line 1:
ORA-00937: not a single-group group function
I tried to have another group function for both tables but nothing seems to be working.