I have been trying to use the uritemplate table as a sub-query to construct urls for another table. However, I cannot determine the correct "column" name to use as only * seems to work.
What I would like to do is something similar to the following, except the highlighted portion will cause problems as I don't know what to use there (* won't work for sub-queries).
Simplified, generic exampleCODE
SELECT * FROM xml WHERE url IN (
SELECT url <-- what goes here?
FROM uritemplate
WHERE template = 'http://example.org/'
)