Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/01/2020, 12:22
karenlorenadg
 
Fecha de Ingreso: octubre-2008
Ubicación: Colombia
Mensajes: 448
Antigüedad: 15 años, 6 meses
Puntos: 2
Respuesta: Valor de ventas por mes

Cita:
Iniciado por ArturoGallegos Ver Mensaje
Solo cambia el where en lugar de buscar una fecha concreta busca un rango de fechas


where fecha >= xxxxxx and fecha <= yyyyyyy


igual podria ser


where month(fecha) = xx. and year(fecha) = yyyy



el resto queda igual

No logro entender tu ejemplo
__________________
Desarrollo de Aplicaciones de Escritorio, Sitios Web, Audio y Video en SISGUS