Name
intersect — Returns an intersect of two sets
Synopsis
sequence
intersect
(
|
set1 sequence , |
set2
sequence
) ; |
Description
The function returns an unordered sequence that consists of all distinct items such that every of source sequences contains every of the resulting items.
Duplicates are removed, including duplicate occurrences of same value in one sequence,
the decision whether two values duplicate each other is made according rules used by
distinct()
function.
Parameters
set1, set2
Sequence that contains items of the resulting intersect.
Return Types
The function returns a sequence of distinct values.