Mysql advanced output

I come from postgresql to mysql, curious if mysql has an extended output flag similar to the postgresql extension?

i.e.: in psql, I could get extended output \ x

id | name ---+----- 1 | foo 

in

 -[ Record ]------ id | 1 name | foo 

how can i do this in mysql?

+6
command-line sql mysql postgresql
source share
1 answer

try SELECT foo FROM bla\G instead of SELECT foo FROM bla;

+12
source share

All Articles