题解 | 删除表
删除表
https://www.nowcoder.com/practice/df2f634a53324bbd9369fe6723fedc49
drop:
删除整张表(表结构和数据都删除)
语法:
drop table if exists 表1,表2,表3...;
delete from:
删除单张表的数据
语法:
delete from 表1;
代码如下:
drop table if exists exam_record_2011, exam_record_2012, exam_record_2013, exam_record_2014;

查看16道真题和解析
凡岛公司福利 381人发布