Snowflake Partition By Function Sql Example Queries