select vend_id, count(prod_id) prod_id
from Vendors left join Products using (vend_id)
group by vend_id
order by vend_id asc
select vend_id, count(prod_id) prod_id
from Vendors left join Products using (vend_id)
group by vend_id
order by vend_id asc