MySQL Forums
Forum List  »  Spanish

Mostrar en dos filas diferentes un Registro
Posted by: Cristian SIlva
Date: July 08, 2014 06:37PM

Campo1 Campo2 Campo3 Campo4 Campo5 Campo6
1 Enero 5000 Enero 6000 Ok
2 Enero 4000 Febrero 8000 ok
3 Marzo 6000 Febrero 6000 Ok


Necesito una Consulta MYsql que haga lo siguiente
los registros que sean del mes de enero pero si el
mes se repite dos veces en el mismo registro debería aparecer así


1 Enero 5000
1 Enero 6000
2 Enero 4000


Espero me puedan ayuda...es para una tabla de PHP gracias

Options: ReplyQuote


Subject
Views
Written By
Posted
Mostrar en dos filas diferentes un Registro
1562
July 08, 2014 06:37PM


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.