I have 5 big queries in my application. I\'m trying to merge them in one query for a better performance.
Query 1
Select SUM(CASE WHEN tt.TransactionTyp