Give me the name of all branches.
select name from branch
Show me all open years when any of them were opened.
select open_year from branch group by open_year
Among them, during which years, at least two shops were opened?
select open_year from branch group by open_year having count(*) >= 2