MySQL Forums
Forum List  »  Italian

problema con somme e totali campi
Posted by: enzo accardo
Date: October 16, 2008 02:29AM

innanzitutto, salve a tutti, sono nuovo del forum e di mySql, quindi รจ possibile che stia postando una domanda ad un problema banale ... comunque ho bisogno d'aiuto ... e speriamo d'averne :D !!

Problema :

"select (valore-valore1) As TotDay FROM tabella" mi restituisce il valore della sottrazione tra i campi per ogni record, generandomi quindi una colonna con il valore corrispondente.

io vorrei adesso ottenere un campo "TotaleValori" che mi restituisca il totale della somma dei valori contenuti nell' intera colonna TotDay.
Come faccio?

Vi ringrazio anticipatamente per l'aiuto.

Options: ReplyQuote


Subject
Views
Written By
Posted
problema con somme e totali campi
4179
October 16, 2008 02:29AM


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.