I think the challenge is MS SQL vs MySQL.... Finally! Someone paying attention <s>
I'm not so much curious about mysql....though if someone wants to substitute and use mysql instead,that's fine.
The question is how to produce the result set, given the parameters, and given the environment.