Set Membership
Next:
Tuple Variables
Up:
SQL
Previous:
Predicates & Joins
Set Membership
We use the
in
and
not in
operations for set membership.
Note that we can write the same query several ways in SQL.
We can also test for more than one attribute:
This finds all customers who have a loan and an account at the SFU branch in yet another way.
Finding all customers who have a loan but not an account, we can use the
not in
operation.
Page created and maintained by
Osmar R. Zaï ane
Last Update: Mon Oct 16 16:41:58 PDT 1995