I have a table with columns
[a1,a2,a3,a4,a5....an]
all the values are numeric. And I’d like a consult that returns:
[a1,a2,a3,a4,a5....an, S]
Where S= a1+a2+a3+…+an
Is possible to do that without specify the column names in the S calculation? (for don’t change that part if some column is added or removed)
Anyway whats the best solution I can use?
Thanks in advance
1 Answer