Show the names of phones that have total number of stocks bigger than 2000, in descending order of the total number of stocks.
create table phone_market (phone_id varchar, num_of_stock integer, PRIMARY KEY (phone_id)); create table phone (name varchar, phone_id varchar, PRIMARY KEY (name))
select t2.name from phone_market as t1 join phone as t2 on t1.phone_id = t2.phone_id group by t2.name having sum(t1.num_of_stock) >= 2000 order by sum(t1.num_of_stock) desc