04 Oct 19 · npack · #Snowflake ·   Bookmark   ×

GROUP BY Syntax in Snowflake

Groups rows with the same group-by-item expressions and computes aggregate functions for the resulting group

SELECT LastName, SUM(PointsScored) as pts
FROM PlayerStats
GROUP BY LastName;

npack

posted on 04 Oct 19

Enjoy great content like this and a lot more !

Signup for a free account to write a post / comment / upvote posts. Its simple and takes less than 5 seconds

Copied