Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Thu, 13 Sep 2012 @ 13:08:37 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

Subj:   Re: Error - 3504 :- Selected non-aggregate values must be part of the associated group.
From:   Walter, Todd

  GROUP BY 1,2,3;  

Groups the constant values 1,2,3 not the positional columns in the select list. Teradata SQL does not support positional group by, the select list columns must be explicitly named.

  <Prev Next>   <<First <Prev Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020