Python Script To Run Sql Query And Reporting