Hola, utilizando lo indicado por Cadetill, quedaría como:
Código:
Select fecha_venta,
(select sum(importe) from ventas where tipo_venta='almacen'),
(select sum(importe) from ventas where tipo_venta='tienda')
from ventas
o si lo permitiese, yo intentaría unir las selecciones:
Código:
Select A.fecha_venta,
(select sum(B.importe) from ventas B where B.tipo_venta='almacen' and A.fecha_venta=B.fecha_venta),
(select sum(C.importe) from ventas C where C.tipo_venta='tienda' and A.fecha_venta=C.fecha_venta)
from ventas A
No lo he probado, ya que no tengo MySql. Un saludo.