13、MYSQL删 ------- delete
前面说到了增改查
剩下删除数据还没有说到
还是老规矩
举例说明:
有 Store_Information 表
1、delete
语法:
delete from 表名 where 条件
举例说明:
1)现在想删除store_name = test 的数据
语句:
delete from Store_Information where store_name = 'test';
再次查询结果为:
从上面我们可以看到,store_name = test的数据已经被我们删除了