HTML5 Data Bindings Support Product Page

Answered

Can I run SUM in my query?

Asked 06 Feb 2015 21:53:10
1
has this question
06 Feb 2015 21:53:10 Matt Penn posted:
I need to use SUM in my query to add up some fields. How do I do this in the query builder. Thanks!

Replies

Replied 12 Feb 2015 08:26:10
12 Feb 2015 08:26:10 Teodor Kuduschiev replied:
Hi Matt,
Could you please explain a little more detailed what exactly do you need to achieve?
Replied 12 Feb 2015 14:04:44
12 Feb 2015 14:04:44 Matt Penn replied:
I'm wanting to accomplish the same as this:

SELECT
sum(transactions)
FROM checkbook
Replied 12 Feb 2015 14:20:42
12 Feb 2015 14:20:42 Teodor Kuduschiev replied:
You can sum the values from your database table column using DMXzone HTML5 Data Bindings Formatter - www.dmxzone.com/go/22124/html5-data-bindings-formatter
Replied 12 Feb 2015 14:32:00
12 Feb 2015 14:32:00 Matt Penn replied:
In that solution, does the database still do the "work" of calculating the result? - or is it passing all of the data into the application first for processing?
Replied 12 Feb 2015 14:37:33
12 Feb 2015 14:37:33 Teodor Kuduschiev replied:
As the Data Bindings is AJAX Based, the data is calculated while the page loads.
Replied 12 Feb 2015 14:43:30
12 Feb 2015 14:43:30 Matt Penn replied:
OK, since I anticipate that this will grow into quite a bit of data, I should probably just choose to use a mySQL view - to keep the processing at the database. Thanks for your help.

Reply to this topic