O'Reilly logo

Microsoft® SQL Server® 2008 MDX Step by Step by C Ryan Clay Bryan C Smith and Hitachi Consulting

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Combining Sets

You can accomplish quite a bit with the set-building functions previously described. That said, some logic is much more easily employed through the use of basic set operations.

If you are like us, you were probably first introduced to set operations as a series of overlapping circles referred to as Venn diagrams. These diagrams, presented in Figure 6-1, represent various ways that two sets—visualized as circles in the diagrams—can be combined to form a new set.

Venn diagram representations of the union, intersection, and exception operations

Figure 6-1. Venn diagram representations of the union, intersection, and exception operations

Through the union operation, membership in either the first or the second set confers ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required