I have a table like below.
| FILE | CATEGORY1 | CATEGORY2 | CATEGORY3 |
| File1.txt | 3 | 2 | 6 |
| File2.txt | 4 | 7 | 3 |
| File2.txt | 3 | 1 | 1 |
Now, Is it possible to add a new row as part of select query which will provide the below row added to the resultset.
| Total | 10 | 10 | 10 |
Expected final output:
| FILE | CATEGORY1 | CATEGORY2 | CATEGORY3 |
| File1.txt | 3 | 2 | 6 |
| File2.txt | 4 | 7 | 3 |
| File2.txt | 3 | 1 | 1 |
| Total | 10 | 10 | 10 |
Any help on achieving the above results is highly appreciated.
Thank you.