RATIO_TO_REPORT with Aggregate Functions | Query Optimization in Snowflake (QOSF)