Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Selecting Distincts

Selecting Distincts

From: MKB <mohammed.bhatti_at_mci.com>
Date: Thu, 06 May 1999 16:53:25 GMT
Message-ID: <3731C983.98FD133@mci.com>


I've got a problem that I'm trying to solve. Say I have a table as follows:
emp


emp_id
emp_dept
emp_name
emp_desc

How can I get all columns where distinct (emp_id and emp_dept), ie select *
from emp
where distinct (emp_id and emp_dept)

Any help/insights appreciated.

Thanks

mkb Received on Thu May 06 1999 - 11:53:25 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US