Skip to content
Advertisement

query to group remarks column with sum of other column in oracle

lets assume i have following table “marksheet”:

Now I want it like this:

I have tried this.

Now, I want to add theory_remarks and practical_remarks as above (table2).

Thank you for any help.

Advertisement

Answer

Assuming userid,subject,type is unique

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement