4 lines
152 B
MySQL
4 lines
152 B
MySQL
|
select CUST_STATE as `State`, count(CUST_BALANCE) as `Number of non zero balances`
|
||
|
from LGCUSTOMER
|
||
|
where CUST_BALANCE != 0
|
||
|
group by CUST_STATE;
|