Find the top 3 products which have the largest number of problems?
create table problems (product_id varchar, PRIMARY KEY (product_id)); create table product (product_name varchar, product_id varchar, PRIMARY KEY (product_name))
select t2.product_name from problems as t1 join product as t2 on t1.product_id = t2.product_id group by t2.product_name order by count(*) desc limit 3