Snowflake Vs MS-SQL - Part 27 - Lateral Join
MS-SQL Server
In Snowflake, we can not use CROSS APPLY as it does not support it. However, it provides an equivalent of it i.e. LATERAL JOIN. A lateral join behaves more like a correlated sub-query as below:
For more details, you can refer to the following LATERALJOIN.
Note: However MS-SQL Server provides you OUTER APPLY additionally and
Snowflake does not have an equivalent of it, you may need to use LEFT JOIN.
Comments
Post a Comment