select prod_name,ifnull(orders,0) from Products p left join (select prod_id, count(order_num) as orders from OrderItems group by prod_id) o on p.prod_id=o.prod_id order by prod_name