MySQL membership conditions are in the MySQL 8 Documentation.
They’re found in the 13.2.11.3 Subqueries with
ANY, IN, or SOME
section. The IN and =ANY operators both
perform equality matches with one twist. The IN
operator works with a set of values or a subquery but the
=ANY operator only works with a subquery.
I created the digits, letters, and
words tables for this example. They hold the
following values respectively:
- The
numberstable holds the values of1,2,3, and4 - The
letterstable holds the values of'a','b','c', and'd' - The
wordstable holds the values of'Captain America','Iron …