qfedu-linux-advanced-level/day9/delete_students.sql

9 lines
120 B
MySQL
Raw Normal View History

2023-08-24 17:18:04 +08:00
-- 删除测试
use studb;
create table if not exists t_stu3
select * from t_stu;
delete from t_stu3
where sex='';