and what states are they, please? | Do you mean the states of all the branches? | what are the four states in which there are customers ?
SELECT state FROM bank where no_of_customers>0
states in which there are customers refers to UNIQUE(states) with condition no_of_customers > 0;