This video shows how to build a SQL filter using the ITMS Management Views.
Note: This is a silent video
00:01:51