SELECT if(number = 0, NULL, toNullable(number)) FROM numbers(10000) SELECT if(number = 0, NULL, toNullable(number)) FROM numbers(10000)