Show the headquarters that have at least two companies.
create table company (headquarters varchar, PRIMARY KEY (headquarters))
select headquarters from company group by headquarters having count(*) >= 2