Fix unsupported multi statements in single MySQL query