MySQL PRINT Statement: Usage Guide
In MySQL, you can use the PRINT statement to display text content.
The basic syntax is as follows:
PRINT 'Text to be printed';
For example, print “Hello, World!”
PRINT 'Hello, World!';
It is worth noting that the PRINT statement is only applicable for the MySQL client command line tool, not for SQL statements. In SQL queries, you can use the SELECT statement to query and display results.