Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Removing repeating columns in query?
In sqlplus do this
SQL> break on division
SQL> select division, manager, project from tablename orderby division,
manager
"Pascal Byrne" <byrne_at_icada.com> wrote in message
news:3C4DA49B.5AE9D7E_at_icada.com...
> Hi all,
> I need create a report ordered by a primary and secondary column that
> only
> displays each ordered column value once e.g.
>
> DIVISION MANAGER PROJECT
> -------- ------- -------
> Engineering John Doe WebMail
> Editor Pro
> RSM
> Joe Soap Hyperhub
> Accounts Bob Billings Ledger
>
>
> How can I do this in plain SQL?
>
> Thanks,
> pascal
>
>
Received on Tue Jan 22 2002 - 12:04:23 CST