Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

How can we pivot the query in the following way in the image

Language: Layout:
View schema
Execution time: 0,02 sec, rows selected: 4, rows affected: 3, absolute service time: 0,17 sec 
fork mode |  history
   Attribute EXB MHQ MNM Totals
1 currenct 131 25 3 159
2 difference 2519 3475 847 6841
3 targets 2650 3500 850 7000
4 rank 1 2 3 NULL

    
                
λ
.NET NoSQL database for rapid development