Which mountains are in the range 'Toubkal Atlas'?
select * from mountain where range = 'Toubkal Atlas'
Find the brands of lenses that took a picture of mountains with range 'Toubkal Atlas'
select t3.brand from mountain as t1 join photos as t2 on t1.id = t2.mountain_id join camera_lens as t3 on t2.camera_lens_id = t3.id where t1.range = 'Toubkal Atlas'
Of these, which ones have also taken a picture of mountains with range 'Lasta Massif'
select t3.brand from mountain as t1 join photos as t2 on t1.id = t2.mountain_id join camera_lens as t3 on t2.camera_lens_id = t3.id where t1.range = 'Toubkal Atlas' intersect select t3.brand from mountain as t1 join photos as t2 on t1.id = t2.mountain_id join camera_lens as t3 on t2.camera_lens_id = t3.id where t1.range = 'Lasta Massif'