I do not understand why it is so difficult to find Documentation and advice to total or add columns in a single row with Postgresql, as it is done in excel:
I have tried with CUBE, ROLLUP and CROSSTAB, but I can not finish it. I appreciate if someone can help me. thanks.