03 September 2018 · Ryan-Dallas ·       Add to Favorites   Report

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 September 2018

Read great educational content like this and a lot more !

Members get free exclusive access to content, new courses, and discounts. Signup for a free account to write a post / comment / upvote posts. Creating an account takes less than 5 seconds and you can start earning badges & points too

Copied