【发布时间】:2020-11-04 06:24:18
【问题描述】:
enter image description here下面附加的ss是我的join查询的示例数据,现在我想实现这个数据的转置为id,最后更新,提供者引用,构建引用作为我的列名,Val列作为我的数据各自的标题。我用来加入的查询如下。任何帮助深表感谢。谢谢。
加入:
select lc.id, lc.name,lc.type, sl.val
from Lease_col_str lc inner join SEP_LEASE_STR sl
on lc.id=sl.COLUMNID;
This is the result of join query
【问题讨论】:
-
请分享您的原始查询,以及您希望最终结果的样子
-
我已经为所需的输出添加了 ss,请在链接上。
标签: snowflake-cloud-data-platform