MySQL Forums
Forum List  »  Spanish

Como ordenar fechas vacias?
Posted by: Jeremias Araujo
Date: June 10, 2013 05:28PM

Tengo una tabla llamada examen, compuesta asi:

id (autonumerico), nombre (varchar 50), fallo (varchar 50), fecha (date)

El tema es que la fecha puede estar vacia (nose si hacerlo como NULL, o como 0000-00-00), y yo quiero ordenar las fechas de la mas vieja a la mas nueva, PERO dejando para el final las filas en que la fecha es NULL, o 0000-00-00. Como puedo hacerlo? Gracias!!

Options: ReplyQuote


Subject
Views
Written By
Posted
Como ordenar fechas vacias?
1835
June 10, 2013 05:28PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.