From 4108c02beb39f6c840a549e0487c58b0f3c52a16 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 19 Mar 2019 00:24:57 -0400 Subject: [PATCH] descending mix --- route_sql/scenario_package.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/route_sql/scenario_package.sql b/route_sql/scenario_package.sql index eba121b..56f91a4 100644 --- a/route_sql/scenario_package.sql +++ b/route_sql/scenario_package.sql @@ -66,6 +66,8 @@ GROUP BY ,value_usd/sum(value_usd) over () mix FROM basket1 + ORDER BY + mix DESC ) ,months AS ( SELECT