Yes, that relative path syntax only works in Jython action builders.
For SQL queries (and all other types of bindings), simply press the property link button (it looks like a little chain link in the upper-righthand corner of the window) and browse for the property you want to bind into your query.
Hope this helps,