HI,
Please suggest me ...i have report which shows
I have 100 employees. there are CEO and subordinates
My report should display data in the follwoing way
EMployee Sal
CEO 10000(CEO only)
Subordinates (99 employees) 80000 (sum of 99 employees)
All CEO salary + 99 employees salary
I have written query with union ....i should not use that ...some restriction in logic. I am strugging in writing sql query. Please help me out.
Regards,
Chandra kanth.