select store_ric, max(n_venduti) from table where n_venduti>100 group by store_ric;