Ver Mensaje Individual
  #7 (permalink)  
Antiguo 04/02/2011, 07:29
Avatar de flaviovich
flaviovich
 
Fecha de Ingreso: agosto-2005
Ubicación: Lima, Peru
Mensajes: 2.951
Antigüedad: 18 años, 8 meses
Puntos: 39
Respuesta: Consulta Maximo SQL

Sera esto?
Código SQL:
Ver original
  1. SELECT Fecha, Referencia, MAX(Cantidad)
  2. FROM tutabla
  3. GROUP BY Fecha, Referencia
__________________
No repitamos temas, usemos el Motor de busquedas
Plantea bien tu problema: Ayúdanos a ayudarte.