Hello Guys,
This is somthing i've not worked with before so thought i'd come on here for a little help.
I have a database with a whole stack of records, one for each day which is generated by a script on the server.
I am giving my users the ability to choose a startDate and endDate for thier report to be built, i then want it to take all records from the database between those dates and Add the values of all the returned rows together and pass them as a single row back to me.
Is this somthing that can be achieved in MySQL? or will i have to just run a standard query to return the results and then have my SeverSide scripts so the math?
Thanks
Rob
This is somthing i've not worked with before so thought i'd come on here for a little help.
I have a database with a whole stack of records, one for each day which is generated by a script on the server.
I am giving my users the ability to choose a startDate and endDate for thier report to be built, i then want it to take all records from the database between those dates and Add the values of all the returned rows together and pass them as a single row back to me.
Is this somthing that can be achieved in MySQL? or will i have to just run a standard query to return the results and then have my SeverSide scripts so the math?
Thanks
Rob