17. 型変換 -- テーブルの構造 `hoge` CREATE TABLE IF NOT EXISTS `hoge` ( `id` int(11) NOT NULL, `val` varchar(255) NOT NULL ); mysql> SELECT * FROM hoge; +----+--------+ | id | val | +----+--------+ | 1 | ONE | | 2 | 2 | | 3 | Three3 | | 4 | 4Four | +----+--------+ 4 rows in set (0,00 sec) 18. 型変換 mysql> SELECT * FROM hoge WHERE val = "0"; Empty set (0,00 sec) mysql> SELECT * FROM hoge WHERE val = 2; +----+-