SQL cheatsheet

mySQL manual

SQL query list view

add \G to end of query, like this:

SELECT * FROM USER\G;