Verwenden Sie CONCAT
http://dev.mysql.com/doc /refman/5.1/en/string-functions.html#function_concat
SELECT CONCAT(1, 2);
-- "12"
SELECT CONCAT('foo', 'bar');
-- "foobar"
SELECT CONCAT(1, 'bar');
-- "1bar"
Verwenden Sie CONCAT
http://dev.mysql.com/doc /refman/5.1/en/string-functions.html#function_concat
SELECT CONCAT(1, 2);
-- "12"
SELECT CONCAT('foo', 'bar');
-- "foobar"
SELECT CONCAT(1, 'bar');
-- "1bar"