What are the ids and names of the architects who built at least 3 bridges ?
create table architect (id varchar, name varchar, PRIMARY KEY (id)); create table bridge (architect_id varchar, PRIMARY KEY (architect_id))
select t1.id, t1.name from architect as t1 join bridge as t2 on t1.id = t2.architect_id group by t1.id having count(*) >= 3