diff --git a/src/03.silver/dota/etl/team_last_seen.sql b/src/03.silver/dota/etl/team_last_seen.sql index d671acc..d736bb4 100644 --- a/src/03.silver/dota/etl/team_last_seen.sql +++ b/src/03.silver/dota/etl/team_last_seen.sql @@ -5,4 +5,4 @@ SELECT idTeam, FROM silver.dota.matches_teams -QUALIFY ROW_NUMBER() OVER (PARTITION BY descTeamName ORDER BY dtMatch) = 1 \ No newline at end of file +QUALIFY ROW_NUMBER() OVER (PARTITION BY descTeamName ORDER BY dtMatch DESC) = 1 \ No newline at end of file