On Sun, Jun 28, 2015 at 1:56 AM, litu16 <litumelendez(at)gmail(dot)com> wrote:
>
> Pls I would like to know how to SUM THEM UP, not just SELECT THEM, hope
> some
> good PostgreSQL fellow programmer could give me a hand with it.
>
>
http://www.postgresql.org/docs/9.4/interactive/functions-aggregate.html
Also see "GROUP BY"
Instead of showing a picture of a table you might get more help if you make
into into a VALUES-based CTE and incorporate it directly into an example
query.
WITH data AS ( VALUES (...),(...),(...) )
SELECT ...
FROM data
...
David J.