Change SQL Syntax for MySQL.