Question: Please list the name and id of all artists that have at least 3 albums in alphabetical order.
Schema: create table artist (name varchar, artistid varchar, PRIMARY KEY (name)); create table album (artistid varchar, PRIMARY KEY (artistid))
SQL: select t2.name, t1.artistid from album as t1 join artist as t2 on t1.artistid = t2.artistid group by t1.artistid having count(*) >= 3 order by t2.name