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的数据已经被我们删除了

 

posted @ 2020-05-07 11:22  贫僧法号-->乱来  阅读(144)  评论(0编辑  收藏  举报