will this work?
SELECT Dealer.Code
,sum(case when QuoteItem.[Type] = 'JOB' then 1 else 0 end) as StandardJob
,sum(case when QuoteItem.[Type] = 'CJOB' then 1 else 0 end) as CustomJob
,sum(case when QuoteItem.[Type] not in ('JOB','CJOB') then 1 else 0 end) as MISC
FROM Quote
INNER JOIN Dealer...