How to check if multiple columns are null in sql.