摘要:
1.in查询相当于多个or条件的叠加,例如: select * from user where user_id in (1,2,3);等效于select * from user where user_id = 1 or user_id = 2 or user_id = 3;not in与in相反,如 阅读全文
摘要:
说明: 本文中使用的例子均在下面的数据库表tt2下执行: 一、concat()函数 1、功能:将多个字符串连接成一个字符串。 2、语法:concat(str1, str2,...) 返回结果为连接参数产生的字符串,如果有任何一个参数为null,则返回值为null。 3、举例: 例1:select c 阅读全文