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;
nVector
posted on 04 Oct 19Enjoy 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
Post Comment