Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Partial distinct - how?
Hi all,
I have a DB with "persons" that can belong to one or more "dept"s. I need to list each person only once, under one the "dept"s he belongs to. It doesn't matter which one.
So I would like to do something like:
SELECT DISTINCT(person.id), workplaces.dept ^^^^^^^^^^^^^^^^^^^
How to do this???
Thanks in advance,
Anneke Treep Received on Thu Sep 23 1999 - 03:27:41 CDT
![]() |
![]() |