Home >Database >Mysql Tutorial >Print structured MySQL SELECT at command prompt
To print, the syntax is as follows -
mysql -uroot -t -e "your Select Query " -p
To achieve the above syntax, let us open the command prompt -
Now, reach the MySQL bin -
Let us implement the above syntax to easily print structured SQL selections. Following is the query -
# which will produce the following output -
The above is the detailed content of Print structured MySQL SELECT at command prompt. For more information, please follow other related articles on the PHP Chinese website!