Skip to content

Instantly share code, notes, and snippets.

@gigkokman
Created August 5, 2015 04:47
Show Gist options
  • Save gigkokman/86da372249528917070b to your computer and use it in GitHub Desktop.
Save gigkokman/86da372249528917070b to your computer and use it in GitHub Desktop.
MySQL query's option to display as column per row
SELECT * FROM sometable\G
displays the rows like this:
*************************** 1. row ***************************
id: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment