Database: chinook_1
Question: What are names and ids of artists with 3 or more albums, listed in alphabetical order?
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