psql

psql => \x psql => select * from users;

mysql

mysql> select * from users \G;
psqlもmysqlも縦でカラムを表示するようになるので崩れずに見やすくSELECTの実行結果を確認できるようになります。