1

What happens when I group by a column in Teradata which is nullable ? Are those records which have the corresponding field's value AS NULL get eliminated ? Please Explain with an example !

StrugglingCoder
  • 4,781
  • 16
  • 69
  • 103

1 Answers1

2

Every DBMS treats NULLs in the GROUP BY columns like any other value and puts them into one group. Eliminated are NULLs in the aggregated columns.

Why don't you simply test it?

dnoeth
  • 59,503
  • 4
  • 39
  • 56