Fixed DML and DDL so it work with mySQL.