Database: mountain_photos
Question: What are the id and name of the mountains that have at least 2 photos?
SQL:
SELECT T1.id ,  T1.name FROM mountain AS T1 JOIN photos AS T2 ON T1.id  =  T2.mountain_id GROUP BY T1.id HAVING count(*)  >=  2