MySQL Forums
Forum List  »  Spanish

Re: Saldos Acumulados (Trigger)
Posted by: Jesús Uzcanga
Date: March 03, 2018 08:41AM

No tiene ningun sentido lo que estas traando de hacer, no necesitas una tabla aparte para los saldos, solo usa un campo de fecha en tu tabla principal de jugadas y para mostrar los saldos en lugar de recurrir a la segunda tabla simplemente has una consulta sumando las jugadas por fecha y obvio usando GROUP BY para mostrar saldos por rango de fechas como dias si lo necesitas

___________________________
Ing. Jesús Alfredo Uzcanga
Twitter: @JesusUzcanga

We learn the 20% of what we HEAR,
the 50% of what we SEE,
the 80% of what we DO and
the 95% of what we TEACH.

____________________________________________________________
https://www.linkedin.com/in/jauzcanga/

Options: ReplyQuote


Subject
Views
Written By
Posted
948
February 13, 2018 01:59AM
Re: Saldos Acumulados (Trigger)
511
March 03, 2018 08:41AM


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.