SQL/Oracle SQL 2 Flashcards
used to combined the result of two select statements and eliminate duplicate
Union
retain all duplicates
Union all
used to combiner two select statements but only returns the records which are common from both select statement
Intersect
include only the result from the first result set that are not included in second result set
Except/Minus
are functions that takes a collection of value as an input and return as single value
Aggregate Function
was added to SQL because WHERE keyword cannot be used with aggregate functions
Having
Connective test for set membership where the set is a collection of values produced by select clause
In
Connective test for the absence of set membership
not in
greater than at least one
> some
greater than all
> all
returns the value true if the argument subquery is nonempty
exists
is expressed in much the same way as a query
delete
to change a value in a tuple without changing all values in the tuple
update