Ticker

6/recent/ticker-posts

A mysql tip

Please find the two different way to see the out put from mysql,

first is column view and second is row view.

mysql> select * from words;

|| id || eng        || pl       ||
|  1 | yes        | tak      |
|  2 | no         | nie      |
|  3 | everything | wszystko |

3 rows in set (0.00 sec)

mysql> select * from words \G;
*************************** 1. row ***************************
 id: 1
eng: yes
 pl: tak
*************************** 2. row ***************************
 id: 2
eng: no
 pl: nie
*************************** 3. row ***************************
 id: 3
eng: everything
 pl: wszystko
3 rows in set (0.01 sec)

Post a Comment

0 Comments