Ver Mensaje Individual
  #2 (permalink)  
Antiguo 08/04/2010, 11:32
Avatar de flaviovich
flaviovich
 
Fecha de Ingreso: agosto-2005
Ubicación: Lima, Peru
Mensajes: 2.951
Antigüedad: 18 años, 9 meses
Puntos: 39
Respuesta: Ayuda con Select

Código SQL:
Ver original
  1. SELECT MAX(ID), TIPO
  2. FROM tabla
  3. WHERE '20100408' <= [Fecha Final]
  4. AND [fecha de inicio] >= '20100101'
  5. GROUP BY TIPO
__________________
No repitamos temas, usemos el Motor de busquedas
Plantea bien tu problema: Ayúdanos a ayudarte.