Can My SQL be integrated with SW as SAP
You can do it through Microsoft Excel. Link your model Variables to Microsoft Excel and write SQL queries inside Excel.
You could build a application accessing the SW API, acting as a bridge between SW and mySQL.