How to list parent's table's attribute via sql without function or trigger?

Original text of this message