\G 用法:查询结果按列打印 \G 放到sql语句后,可以使每个字段打印到单独的行, 如:
mysql> select * from user limit 2 \G; mysql> select * from t \G;
*************************** 1. row ***************************
name: hubei
age: 29
*************************** 2. row ***************************
name: erzi
age: 1
*************************** 3. row ***************************
name:
age: NULL
*************************** 4. row ***************************
name: NULL
age: 2
4 rows in set (0.02 sec)