Teradata Interview Question

complete Programming question dont no verbal no apti nothing