Print Structured MySQL SELECT at Command Prompt



To print, the syntax is as follows −

mysql -uroot -t -e "your Select Query  " -p

To implement 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 select. Following is the query −

This will produce the following output −

Updated on: 2019-12-10T06:09:40+05:30

200 Views

Kickstart Your Career

Get certified by completing the course

Get Started