Specify
DISTINCT
or UNIQUE
if you want the database to return only one copy of each set of duplicate rows selected. These two keywords are synonymous. Duplicate rows are those with matching values for each expression in the select list.
Restrictions on DISTINCT and UNIQUE Queries These types of queries are subject to the following restrictions:
- When you specify
DISTINCT
orUNIQUE
, the total number of bytes in all select list expressions is limited to the size of a data block minus some overhead. This size is specified by the initialization parameterDB_BLOCK_SIZE
. - You cannot specify
DISTINCT
if theselect_list
contains LOB columns.
No comments:
Post a Comment