I have the following query in my application. It works well, but I need it to also contain the number of products that are associated with each manufacturer.
select *
from `manufacturers` m
inner join `languages` l on m.`lang` = l.`id`
left outer join (
select manufacturerid, count(*) as ProductCount
from Products
group by manufacturerid
) pc on m.id = pc.manufacturerid
order by l.`id` asc, m.`id` asc