Mega Code Archive

 
Categories / MySQL Tutorial / Comparison Functions Operators
 

Type conversion when using the Equal operator

mysql> mysql> SELECT '1' = 1; +---------+ | '1' = 1 | +---------+ |       1 | +---------+ 1 row in set (0.00 sec)