A simple multiple-line statement. : Command « Introduction « MySQL Tutorial






mysql>
mysql> SELECT
    -> USER()
    -> ,
    -> CURRENT_DATE;
+----------------+--------------+
| USER()         | CURRENT_DATE |
+----------------+--------------+
| root@localhost | 2007-07-22   |
+----------------+--------------+
1 row in set (0.00 sec)

mysql>








1.2.Command
1.2.1.You can enter multiple statements on a single line and end each one with a semicolon:
1.2.2.A simple multiple-line statement.
1.2.3.Prompts and their meaning
1.2.4.To cancel the command: type the '\c' command
1.2.5.The Most Important mysql Commands