Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Difference between Distinct and Unique
Mark is right what context?
Normally in SQL the keyword DISTINCT is used in a query select list to eliminage duplicate rows from the result set of the query. While the term unique is used in relation to unique indexes, unique constraint, or in describing unique keys. In these three cases there will be no duplicates for the column values used in the unique constrain and/or index definition.
HTH -- Mark D Powell -- Received on Fri May 12 2006 - 09:34:19 CDT
![]() |
![]() |