• Wow, that question was excellent. It really threw me for a loop and taught me something about the HAVING clause that I never knew before.

    Thanks,

    webrunner

    -------------------
    A SQL query walks into a bar and sees two tables. He walks up to them and asks, "Can I join you?"
    Ref.: http://tkyte.blogspot.com/2009/02/sql-joke.html