Cannot Infer Type Variable Initializer Is Null Sql