美文网首页
oldguo-MySQL 8.0 OCP 原题解析-Q34

oldguo-MySQL 8.0 OCP 原题解析-Q34

作者: MySQL_oldguo | 来源:发表于2021-11-17 23:25 被阅读0次

    Question 34:

    You must export data from a set of tables in the world_x database.
    Examine this set of tables:
    Tables ( country, countryinfo, location)
    Which two option will export data into one or more files?

    A) mysql> CLONE LOCAL DATA DIRECTORY = '/var/lib/mysql/world_x/country';
    mysql> CLONE LOCAL DATA DIRECTORY = '/var/lib/mysql/world_x/countryinfo';
    mysql> CLONE LOCAL DATA DIRECTORY = '/var/lib/mysql/world_x/location';

    B) mysql> SELECT * INTO OUTFILE '/output/contry.txt' FROM world_x.country;
    mysql> SELECT * INTO OUTFILE '/output/contryinfo.txt' FROM world_x.countryinfo;
    mysql> SELECT * INTO OUTFILE '/output/location.txt' FROM world_x.location;

    C) shell> mysqlexport world_x country countryinfo location > mydump.sql

    D) shell> mysql --bathch world_x.country world_x.countryinfo world_x.location > mydump.sql

    E) shell> mysqldump world_x country countryinfo location > mydump.sql

    相关文章

      网友评论

          本文标题:oldguo-MySQL 8.0 OCP 原题解析-Q34

          本文链接:https://www.haomeiwen.com/subject/ypqbjltx.html