http://www.databasejournal.com/news/article.php/3684801/Rolling-Sums-in-SQL---A-Practical-Example.htm
Rolling Sums in SQL - A Practical ExampleJune 21, 2007 [From MySQL Developer Zone]Today, Lenz was putting together some stats on PlanetMySQL feeds added since January this year, and asked in an email whether he should include totals in the stats. I responded yes, and offered a quick SQL solution to get those numbers out of the database. I thought it might be useful for others, so here goes... The article continues at http://dev.mysql.com/tech-resources/articles/rolling_sums_in_mysql.html |
The Network for Technology Professionals
Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers