Simple-Saturday: Easy Way to Format Your Select Query Results. Ain’t Nuthin’ but a \G Thang.


Most of the time, when we do a query, we get a large jumble of results like so.

Select without \G

If you use the’\G’ at the very end of your query, your results are better formatted, like so.

Select with \G

A much better alternative when querying against tables with 10 or more fields, I think.