摘要: 清除MySQL表中的数据有两种方式 第一种: delete from 表名 (where 条件); 第二种 truncate table 表名; 两种方式的比较: 1、delete语句可以带where条件,如果不带默认全部删除,truncate table不能带条件,默认清空整张表的数据 2、效率上 阅读全文
posted @ 2020-07-30 11:17 方方不听话 阅读(2022) 评论(0) 推荐(0)