MySQL Forums
Forum List  »  Spanish

Re: totalizar al final de cada columna
Posted by: Carlos Ochoa
Date: April 24, 2017 02:49PM

Hola, probaste con la funcion sum() ?

select sum(PLCANT) AS PEDIDO,sum(PLSURT) AS ENTREGADO,sum(PLCANT-PLSURT) AS FALTANTE from ...

Options: ReplyQuote


Subject
Views
Written By
Posted
214
March 14, 2017 01:02PM
Re: totalizar al final de cada columna
50
April 24, 2017 02:49PM


Sorry, only registered users may post in this forum.

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.