https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/
× This is the optional Forum header for the Suggestion Box.

sum values? [Solved]

  • connic
  • connic's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 3 months ago #173

It would make the sum of the values in the row?

Last edit: 14 years 3 months ago by user62.

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #177

Hi,

sorry there is no one-click solution with TableJX.

But it is possible if you create view and display view in TableJX.

If you have data:
nome_item Sunday Monday Tuesday Wednesday Thursday Friday Total
item1 12 5 5 9 4 23 58
item2 2 6 2 2 45 3 60
item3 3 7 3 3 4 3 23
item4 4 8 4 4 4 5 29

In DB editor (e.g. phpMyAdmin):

CREATE VIEW Calculation AS
SELECT nome_item, Sunday, Monday, Tuesday, Wednesday, Thursday, Friday,
cast(Sunday as int)+...+cast(Friday as int) as Total
FROM mytable

Regards,
Viljem

Please Log in or Create an account to join the conversation.

  • connic
  • connic's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 3 months ago #178

Thank you. This is form me ideal solution.

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.143 seconds

Contact Us

Contact us on Discord

Contact us on Facebook