mattlm.com

MySQL Vertical Results Format

End a statement with \G to return the results in a vertical format.

eg. SELECT * FROM users\G