truncate会清空表数据和索引
truncate table table_name;

delete会清楚表数据,但是索引不会清楚,再次插入数据时索引会接着之前的索引
delete from table_name;

drop会把表结构也删除
drop table table_name;