• Thank you , btw. sometimes has column2 value = NULL and result is also NULL. I this case I want to put date from column1.