結果 : convert sql to python code