Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Group By question
I have a table with this structure:
SSN varchar2
NAME varchar2
DEPT number
I need to produce a report that looks like this:
Dept Name 0001 Edmund Miranda Zachary 0002 Stuart Mary Erica Kendall Adam Jamie 0003 Maria Ryan
In other words, I don't want to repeat the the department number. I only want to see it on the first line.
How do I accomplish this with SQL?
Thanks.
Dennis Hancy
Eaton Corporation
Cleveland, OH
Received on Mon Aug 16 2004 - 15:58:17 CDT