1.如何将数据表导入到mysql的表中,可以使用:load data infile ... into table ... 示例: load data infile 'e:\datainfo.txt' into table `table_1` fields terminated by '\t' lines terminated by'\r\n' 参数说明,其中: fields terminated by '\t' :表示使用tab制表符作为字段分隔符: lines terminated by
方法一 php教程用mysql的命令和shell select * into outfile './bestlovesky.xls' from bestlovesky where 1 order by id desc limit 0, 50; 方法二 把bestlovesky.xls以文本方式打开,然后另存为,在编码选择ansi编码,保存 echo "select id,name from bestlovesky where 1 order by id desc limit 0, 50;&qu