Solved

Show Parent is total below the Child.

Posted on 2009-06-28
2
176 Views
Last Modified: 2012-05-07
Hi,

I have query into below result.

AccNo      Name                                                   Debit                    Credit                 Parent Account

32               PENDAPATAN/BIAYA NON OPERASI      0.0000                      1448947.0000          3                
6103             BIAYA KARYAWAN                                6433000.0000       0.0000                  61               
6104             ADMINISTRASI KANTOR                       1831500.0000       0.0000                  61               
6108             BIAYA PEMELIHARAAN                         250000.0000       0.0000                  61               
7103             Main Nursery                                       229250000.0000       0.0000                  71               

How could I show it into :

32               PENDAPATAN/BIAYA NON OPERASI      0.0000                      1448947.0000          3          
                TOTAL                                                  

6103             BIAYA KARYAWAN                                6433000.0000       0.0000                  61               
6104             ADMINISTRASI KANTOR                       1831500.0000       0.0000                  61               
6108             BIAYA PEMELIHARAAN                         250000.0000       0.0000                  61        
                TOTAL                                                  
      
7103             Main Nursery                                       229250000.0000       0.0000                  71    
               TOTAL          

Thank you.           


0
Comment
Question by:emi_sastra
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 500 total points
ID: 24731665
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 24731687
Hi aneeshattingal,

The link helps a lot.

Thank you very much for your help.
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Trouble with <> 2 26
SQL Query Syntax Assistance 2 35
SQL query 7 18
TSQL Assignining CTE column in to a variable 3 13
If you find yourself in this situation “I have used SELECT DISTINCT but I’m getting duplicates” then I'm sorry to say you are using the wrong SQL technique as it only does one thing which is: produces whole rows that are unique. If the results you a…
PL/SQL can be a very powerful tool for working directly with database tables. Being able to loop will allow you to perform more complex operations, but can be a little tricky to write correctly. This article will provide examples of basic loops alon…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question