SQLite基础学习 互动版

基本语法:

  drop table用于在删除指定的表。

drop table table_name;

实例:

  我们来删除刚刚创建的表student,并且重新查看一下数据库中的表:

sqlite> drop table student;
sqlite> .table
sqlite>