I need to run a query that will take the average balances of customers by city. So for example, I would need the average balance for all customers from Chicago. So I would display one row for Chicago with the average balance of all customers from Chicago.
I try using the DISTINCT function along with the AVG function, but I get a weird error.
Someone help!!
I try using the DISTINCT function along with the AVG function, but I get a weird error.
Someone help!!