随笔分类 - mysql
摘要:导出select */字段列表 + from 数据源(可表可库) + into outfile + '文件存储路径';导入load data infile + '文件存储路径' + into table + 表名 + [字段列表] + fields + 字段处理 + lines + 行处理;
阅读全文
摘要:表结构复制(带数据)create table new select * from old 表结构复制(不带数据)create table new select * from old where 1=2这里给个where条件1=2是为了差不出数据给个空表 表结构复制(like关键字)create ta
阅读全文
摘要:alter table test change id id int AUTO_INCREMENT;
阅读全文

浙公网安备 33010602011771号