Snowflake has an odd behavior when using a HAVING clause within a CTE definition that doesn't exist in other SQL dialects.
Share this post
The Curious Case of a Snowflake CTE
Share this post
Snowflake has an odd behavior when using a HAVING clause within a CTE definition that doesn't exist in other SQL dialects.