g1g2, ...)
g1g2等参数可以是常量、变量、函数等,可以连接多个字符串。例如:
SELECT CONCAT('Hello', 'World');
输出结果为:HelloWorld
swer is ', 42);
swer is 42
ame25New York%';
该语句将根据名字、年龄、地址三个条件进行查询,从而找到符合要求的数据。