Greetings, I would like to have a single page that performs multiple calculations within one table displaying percentage ratios.
The basic idea what I am trying to do.
SELECT
id,
Item1,
Item2,
item1sub1,
item2sub1,
Item1sub2,
Item2sub2,
(item1sub1 + Item2sub1) AS OutputItem1
(Item1sub2 + Item2sub2) AS OutputItem2
(OutputItem1 / 2) As TotalItem1
(OutputItem2 / 2) As TotalItem2
FROM log_items_percentage_ratio
Thank you for your suggestions :)