I improved the script for readability and professionalism by making the following changes:
1. **Comments and Documentation**: Added clear and concise comments to explain the purpose of each section.
2. **Variable Naming**: Used more descriptive variable names.
3. **Code Structure**: Organized the code into logical sections: fetching data, database setup, data insertion, and data retrieval.
4. **Constants**: Defined the database connection string as a constant for clarity and maintainability.
5. **Readability**: Reformatted the code for better readability, following Python's PEP 8 style guide.