mysql \G 的作用(按例输出)
注意,末尾不用加 ;
select user,host from mysql.user \G
mysql> select user,host from mysql.user \G
*************************** 1. row ***************************
user: mysql.infoschema
host: localhost
*************************** 2. row ***************************
user: mysql.session
host: localhost
*************************** 3. row ***************************
user: mysql.sys
host: localhost
*************************** 4. row ***************************
user: root
host: localhost
4 rows in set (0.00 sec)
mysql>
mysql \g 的作用(按例输出)
欢迎来撩 : 汇总all