結果 : nonetype object is not iterable sql python