Mega Code Archive

 
Categories / MySQL Tutorial / Introduction
 

You can enter multiple statements on a single line and end each one with a semicolon

mysql> mysql> SELECT VERSION(); SELECT NOW(); +---------------------+ | VERSION()           | +---------------------+ | 5.0.41-community-nt | +---------------------+ 1 row in set (0.00 sec) +---------------------+ | NOW()               | +---------------------+ | 2007-07-22 20:10:16 | +---------------------+ 1 row in set (0.00 sec) mysql>