use library
select city, count(*) as 'How many libraries'
from dbo.library
where city like 'S%'
group by city
having count(*) >=2
