2014年1月10日
摘要: 整理了日常用到的一些sqls1.插入表insert into table_B select * from table_A2.清空表truncate table test #清空表,结构还存在delete table test where ... #删除表中特定的数据drop table test #删除整表,包括结构3. 导出到文件select * from table_A where filed1 like '8422%' into outfile '/usr/local/mysql/8422.txt' fields terminated by '|| 阅读全文
posted @ 2014-01-10 10:33 大哉昆仑 阅读(217) 评论(0) 推荐(0)