Simple task implementation.
user macro uses select macro to generate sql
use format instead of str concat
simple solution moved to branch master