|
Running Totals with MySQL: msg#00050db.mysql.c++
I need to keep a running total (not an aggregate) based on data in two columns e.g. a b calculated_col 100 -10 90 50 10 150 -10 -20 120 the rows are selected on certain WHERE criteria and so the running total is not fixed data. The running total is for display on the screen. Doing this work in the language interfacing with MySQL is causing some odd side effects so I was hoping to do the work on the MySQL side instead. Kerry -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Storing BLOB using C constructs and no STL(string, streams etc): 00050, Warren Young |
|---|---|
| Next by Date: | SSQLS v2 :): 00050, Королев Илья |
| Previous by Thread: | Re: Exception of type std::length_errori: 00050, Warren Young |
| Next by Thread: | RE: Running Totals with MySQL: 00050, Kerry Frater |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |