MySQL Tutorial/Introduction/semicolon

Материал из SQL эксперт
Перейти к: навигация, поиск

A command normally consists of an SQL statement followed by a semicolon.

mysql>
mysql> SELECT VERSION(), CURRENT_DATE;
+---------------------+--------------+
| VERSION()           | CURRENT_DATE |
+---------------------+--------------+
| 5.0.41-community-nt | 2007-07-22   |
+---------------------+--------------+
1 row in set (0.00 sec)
mysql>