|
You will have to break your query up into two steps. The first query
will obtain the table name(s) from the dictionary. The second query will
utilize a separate subselect for every table found by the first query, and
combine the subselects with UNION.
I'm afraid there's no way to query metadata and data at the same time,
not if querying the data is driven by results from the metadata query.
|