David: gracias! pero me da un error:
Cita: MySQL ha dicho: Documentación
#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 'u.firstname = 'Juan' AND u.ser_lastname = 'Perez'
LIMIT 0, 30' at line 1