Every Module in Magento have the Sql folder in which all the insert script is written but some time we need to add new field in some tables so we need to upgrade the script .You don't need to change or run the query directly in databse it's wrong way
You can upgrade your module to make your necessary database changes. To do so,
You can upgrade your module to make your necessary database changes. To do so,