Here is my table
a | b | c
1 2 3
1 2 3
1 2 3
Is it possible to write select
, which will return me something like this:
select * from table1 where a = 1
a | b | c
1 2 9
In the last column I want to get SUM
of all elements in column c