我在 CentOS Linux 版本 7.5.1804(核心)
当我登录postgres并运行时:
bash-4.2$ /usr/pgsql-11/bin/initdb -D /var/lib/pgsql/11/data
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
creating directory /var/lib/pgsql/11/data ... ok
creating subdirectories ... ok
selecting default max_connections ... …Run Code Online (Sandbox Code Playgroud) 可以从查询中只选择一列:“SHOW TABLE STATUS FROM DB”??
我只想从查询中获得的结果中选择 1 或 2 列:
SHOW TABLE STATUS FROM `DB`
Run Code Online (Sandbox Code Playgroud)
我需要这个数据库的所有表,但我不需要列
Max_data_length、Index_length、Data_free、Auto_increment 等...
有可能从这多列中只得到一列导致只有 1 个查询吗?