Need some MySQL queries to add up values in database records (ID:6289)
Project Creator: |
chrisau
FC Member For 6019 Days
Credits 220 Completed Proj. Num. 10 / 18 Total payment USD 3,598.00 Avg Daily Online 0.03 h (From 21/5/2007) Available on MSN/Skype No Last Login 9/14/2011 Peers Rating 100.00% ![]() ![]() ![]() |
---|---|
Budget: | Not Sure/Confidential |
Created: | 12/8/2009 6:45:48 AM EST |
Bidding Ends: | 12/11/2009 6:45:48 AM EST ( Expired ) |
Development Cycle: | 2 Days |
Bid Count: | 5
|
Average Bid: | 100.00 |
Project Description:
I have a database that contains thousands of records for each of the reports I need to generate. Currently I read each record and programmatically add the values in some of the columns, but it is obviously very slow to work this way. What I need is a good DBA that can write a query that will retrieve say 10,000 records and add the values in the columns. Example: Database record: account, user, debits_dollars, credit_dollars, adjustment_dollars, total_value. I want to retrieve all the records and produce for example total_debits, total_credits, total_value by user and another query that produces the same by records but but user. |
|
Job Type | Other |
Attached Files: | N/A |