Langchain Create Sql Query Chain Python Code