Survey Tabulation > Advanced expressions > Operators > Categorical comparison operators > Greater than and greater than or equal to
 
Greater than and greater than or equal to
The greater than (>) operator returns True if the list of categories on the left side is a proper superset of the list of categories on the right side. The greater than or equal to (>=) operator returns True if the list of categories on the left is a superset of, or is equal to, the one on the right.
Examples
Result
{1,3,6,8} > {1,3,6}
True
{1,3,8,9} > {1,3,6}
False
{1,3,6} > {1,3,6}
False
{1,3,6} >= {1,3,6}
True
{FOSSILS, BIRDS, WHALES} > {WHALES, BIRDS, FOSSILS}
False
{FOSSILS, BIRDS, WHALES} >= {WHALES, BIRDS, FOSSILS}
True
{WHALES, BIRDS, FOSSILS} > {FOSSILS, BIRDS}
True
See also
Categorical comparison operators