Teradata interview question

Usual