语法

delete from 表名 where 筛选条件

实例

delete from student where `id`= 7;

语法

truncate table 表名

实例

truncate table student;

相关文章:

  • 2022-01-28
  • 2022-12-23
  • 2022-12-23
  • 2021-12-20
  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-30
  • 2022-12-23
  • 2021-09-12
  • 2021-12-14
  • 2022-12-23
  • 2021-11-30
相关资源
相似解决方案