SELECT BAIRRO, SUM(LIMITE_DE_CREDITO) AS LIMITE FROM tabela_de_clientes GROUP BY BAIRRO;
SELECT BAIRRO, SUM(LIMITE_DE_CREDITO) AS LIMITE FROM tabela_de_clientes GROUP BY BAIRRO;
Boa tarde!
Faltou terminar o Group By.
SELECT estado, sum(LIMITE_DE_CREDITO) AS LIMITE_TOTAL FROM TABELA_DE_CLIENTES GROUP BY estado ;