Translate the following question to SQL: What are the id and name of the mountains that have at least 2 photos?

Schema: CREATE TABLE mountain (
    id INT   PRIMARY KEY,
    name TEXT,
    Height REAL,
    Prominence REAL,
    Range TEXT,
    Country TEXT,
    UNIQUE (id)
);

CREATE TABLE camera_lens (
    id INT   PRIMARY KEY,
    brand TEXT,
    name TEXT,
    focal_length_mm REAL,
    max_aperture REAL,
    UNIQUE (id)
);

CREATE TABLE photos (
    id INT   PRIMARY KEY,
    camera_lens_id INT,
    mountain_id INT,
    color TEXT,
    name TEXT,
    UNIQUE (id),
    FOREIGN KEY (mountain_id) REFERENCES mountain(id),
    FOREIGN KEY (camera_lens_id) REFERENCES camera_lens(id)
);
user
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
assistant