SELECT
    DD.*,
    TT.`表注释` 
FROM
    (
    SELECT
        TABLE_NAME 表名,
        COLUMN_NAME 列名,
        COLUMN_TYPE 数据类型,
        IS_NULLABLE 是否为空,
        COLUMN_DEFAULT 默认值,
        COLUMN_COMMENT 备注 
    FROM
        information_schema.COLUMNS 
    WHERE
        (
            TABLE_NAME LIKE 'plm_%' 
        OR TABLE_NAME IN ( 'country', 'currency', 'warehouse' )) 
        AND TABLE_SCHEMA = 'ywwlslm'  ## 数据库
    ) DD
    LEFT JOIN (
    SELECT
        table_name 表名,
        TABLE_COMMENT 表注释 
    FROM
        INFORMATION_SCHEMA.TABLES 
    WHERE
        table_schema = 'ywwlslm' ## 数据库
AND ( TABLE_NAME LIKE 'plm_%' OR TABLE_NAME IN ( 'country', 'currency', 'warehouse' ))) TT ON DD.`表名` = TT.`表名`