MS SQL Server 2012 and MySQL databases and SQL queries