Hi All,
This is what I have
Oracle database: I have 3 tables
---------
table 1
---------
parent_acct account //2 fields...with sample data
---------- --------
A11111 A10000
A11111 A10100
A11111 A10200
A22222 A20000
A22222 A20100
-------
table2
-------
Account Descr // 2 field ...with sample data
-------- ------
A10000 some descr
A10100 another descr
A10200 Account descr
A11111 Parent Account descr
A20000 sample descr
A20100 another sample descr
A22222 another Parent descr
---------------
table3
---------------
Account totals //2 fields ..sample data
-----------------
A10000 $ 999999
A10100 $ 999999
A10200 $ 999999
A20000 $ 999999
A20100 $ 999999
// Parent accounts doesn't have any totals or transaction in table 3
I have to create a report which should be showing
Account description totals
-----------------------------------------------------------
A10000 some descr $999999
A10100 another descr $999999
A10200 Account descr $999999
A11111 Parent Account descr sum( above 3 rows)
A20000 sample descr $999999
A20100 another sample descr $999999
A22222 another Parent descr sum( above 2 rows)
//Where ever the parent account occurs I need to do a bold font. How I can I do this.
My SQL doen't even work.. Can I get some help on this too, Please.
When Iam joining the table1 & table2 I get only the 3 rows(from the sample data) for that A11111 parent account
I don't get the parent account which exists in Table 2( I did the Outer join too but doen't help).
Any help is greatly appericated
Thanks,
Sweety pie
This is what I have
Oracle database: I have 3 tables
---------
table 1
---------
parent_acct account //2 fields...with sample data
---------- --------
A11111 A10000
A11111 A10100
A11111 A10200
A22222 A20000
A22222 A20100
-------
table2
-------
Account Descr // 2 field ...with sample data
-------- ------
A10000 some descr
A10100 another descr
A10200 Account descr
A11111 Parent Account descr
A20000 sample descr
A20100 another sample descr
A22222 another Parent descr
---------------
table3
---------------
Account totals //2 fields ..sample data
-----------------
A10000 $ 999999
A10100 $ 999999
A10200 $ 999999
A20000 $ 999999
A20100 $ 999999
// Parent accounts doesn't have any totals or transaction in table 3
I have to create a report which should be showing
Account description totals
-----------------------------------------------------------
A10000 some descr $999999
A10100 another descr $999999
A10200 Account descr $999999
A11111 Parent Account descr sum( above 3 rows)
A20000 sample descr $999999
A20100 another sample descr $999999
A22222 another Parent descr sum( above 2 rows)
//Where ever the parent account occurs I need to do a bold font. How I can I do this.
My SQL doen't even work.. Can I get some help on this too, Please.
When Iam joining the table1 & table2 I get only the 3 rows(from the sample data) for that A11111 parent account
I don't get the parent account which exists in Table 2( I did the Outer join too but doen't help).
Any help is greatly appericated
Thanks,
Sweety pie