\G – Paul Hayes
https://paul-hayes.org
Sat, 09 Jul 2016 18:17:36 +0000en-US
hourly
1 https://wordpress.org/?v=6.5.4Simple-Saturday: Easy Way to Format Your Select Query Results. Ain’t Nuthin’ but a \G Thang.
https://paul-hayes.org/2016/07/09/simple-saturday-easy-way-to-format-your-select-query-results-aint-nuthin-but-a-g-thang/
Sat, 09 Jul 2016 18:17:36 +0000http://www.paul-hayes.org/?p=20Most of the time, when we do a query, we get a large jumble of results like so.
If you use the’\G’ at the very end of your query, your results are better formatted, like so.
A much better alternative when querying against tables with 10 or more fields, I think.