I have 3 queries having one parent and two child ,each query have many tables so it difficult to show here .All 3 queries work separately. So how can I arrange data for it.