• Note that "b.date_deactivated is not NULL" is superfluous. If b.date_deactivated is NULL then the result of "b.date_deactivated < '7 aug 2012'" will also be NULL. So, in order for the second statement to be TRUE, the first statement must be true.

    Drew

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA