![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
29/09/2011, 08:57
|
![Avatar de lexus](http://static.forosdelweb.com/customavatars/avatar12027_2.gif) | | | Fecha de Ingreso: enero-2002 Ubicación: Cali - Colombia
Mensajes: 2.234
Antigüedad: 23 años, 1 mes Puntos: 4 | |
Respuesta: resta de fechas para saber edad en mysql me marca este error directamente en la consola de phpmyadmin en el servidor
#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 '(YEAR, fecha_nacimiento, CURDATE()) AS edad FROM usuarios LIMIT 0, 30' at line 1 |