The mysql query subtracts the column data in a messy format, is there any way to format it?
You can get vertical output with mysql> select * from table \G
mysql> select * from table \G