03 Sep 18 · Ryan-Dallas ·       Add to Favorites  

BIGQUERY SELECT list expression references column X which is neither grouped nor aggregated at Y

Problem:

BIGQUERY SELECT list expression references column CHANNEL_ID which is
  neither grouped nor aggregated at [10:13]

Solution:

When you use GROUP BY - all expressions in the respective SELECT list must be either those which are in the GROUP BY or should be with AGGREGATION function - like MIN, MAX etc. See more about GROUP BY clause

Ryan-Dallas

posted on 03 Sep 18

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