Enabled each Blog Template settings in MySQL?

I want to apply some changes on each blog template settings but just want to make sure that I won't be messing with the wrong tables and fields. What SQL query do I need to use in order to achieve this setting below:

1. Enabled these settings according to the attached file:
- Wordpress Settings, Current Theme, and Active Plugins
- All Posts
- All Pages
- All Categories, Tags, and Links
- Menus
- Files
- Update Dates

2. All settings above to be applied on multiple blogs/sites settings changes by blog_id all in one query.

Thank you. Please advice.