Does that means I have to put all the select columns in Group By?
I'm converting a mysql to teradata sql, in that query Select is calling 20 columns but Group by just have 2 columns (1 of which is not called in select). I though SQL basics are same in both.
Does that means I have to put all the select columns in Group By?
I'm converting a mysql to teradata sql, in that query Select is calling 20 columns but Group by just have 2 columns (1 of which is not called in select). I though SQL basics are same in both.