摘要:
一:字符串函数: concat(string2 [,....]) //连接函数 select CONCAT(id,'|',name) as id_name from t1 lcase(string2) //转换成小写 ucase(string2) //转换成大写 length(string2) // 阅读全文
摘要:
一:表结构及数据复制 1、create table t2 like t1; /*完整复制表结构,包括主键、索引、约束、自增长 insert into t2 select * from t1; /*复制表的数据内容,选择使用字段 要求表 t2 必须先存在 2、create table t2(selec 阅读全文