我有两个问题:
选择填充并将其加载到表中的查询。
使用此表作为FROM语句中的一个源的查询。
如何将第一个查询作为源使用而不将其加载到表中?
答案 0 :(得分:1)
如下所示
select (A query that uses this table as one of its sources in the FROM statement)
from (
A query that selects the population and loads it into a table) xxx
示例:
select * from (
select col1, col2, ...., coln
from some_table) xxx