Just as all the user profile values are available for use in the template text, they should also be available for direct use in sql tokens.
i.e. I shouldn't have to pass the user id as a querystring parameter just to pull some of current users info from a table, $(USERID) should automatically be available for use in the sql token...
TJ