Mega Code Archive

 
Categories / MySQL Tutorial / Introduction
 

From a -- sequence to the end of the line

mysql> mysql> SELECT 1+1;     -- This comment continues to the end of line +-----+ | 1+1 | +-----+ |   2 | +-----+ 1 row in set (0.00 sec)