Hi Alex,
What exactly whoudl be the output of this? Where would the link be located? Where would it point?
To be honest this doesnt really makes much sense. In any case the only option that comes to my mind is to create a simple custom macro ( http://devnet.kentico.com/docs/7_0/devguide/registering_cutom_macro_methods.htm ) and build up your link however you need. You can use similar query to get the column you need.
Kind regards,
Richard Sustek