Ver Mensaje Individual
  #3 (permalink)  
Antiguo 15/09/2014, 06:38
gekonidae
 
Fecha de Ingreso: septiembre-2014
Ubicación: Venezuela
Mensajes: 3
Antigüedad: 9 años, 7 meses
Puntos: 0
Respuesta: Agrupar intervalo de edades en php mysql

Saludos de nuevo quimfv, disculpa la molestia pero al realizar la consulta me da el siguiente error:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')<=11,'0-11',if((YEAR( CURDATE( ) ) - YEAR( fecha_nac ) ) - ( RIGHT( CURDATE' at line 3

Última edición por gekonidae; 15/09/2014 a las 15:42 Razón: no me funciono