• I don't think I understood very well, can explain us what do you mean by "the results of one query gets clubbed with another query"? How about adding some sample data with the generated output for the sample data?

    --Ramesh