Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL Report
Hi..Guido,
Thanks a lot for your response. I looked at the doc set. As far as I have searched I haven't seen any place where the details come below the the master record. i.e
<department_noXXX> <employee_numberYYY> <employee_numberZZZ>
What I wanted was the detail record to occur below the master record instead of on the side.
Guido Konsolke wrote:
> "Praveen" <nospam_at_spam.com> schrieb im Newsbeitrag
> news:3EB7466A.2020407_at_spam.com...
>
>>Hi..All, >> >> I have 2 tables employee (employeeid), dept (dept_id, ,employeeid). >>I want to get a report in the following format >> >><dept_id1> >>employeeid1 >>employeeid2 >>... >>... >> >><dept_id2> >>employeeidXX >>employeeidYY >>.... >>... >>.. >> >> >>Is this possible to do it in a single SQL. >> >>Regards, >> >>P >>