Prueba con esto, en principio debería funcionar.
Código SQL
[-]
SELECT
sum(importe) AS ventas_total, ,
sum(case when vendedor=1
then importe
else
0
end ) AS VENDEDOR1,
year(fecha)*100+month(fecha) AS x_mes
FROM ventas
GROUP BY year(fecha),month(fecha)
Nos dices cómo te ha ido. Si te va bien, nos explicas porqué.
Un saludo