- 7
- 0
- 约4.2千字
- 约 10页
- 2020-12-15 发布于湖北
- 举报
3.2.4 插入、修改和删除数据综合案例
任务二: 案例23 在“products”表中,把原来supplier(供应商)字段为空的记录修改为“该商品信息由个人提供”。 SQL语句:update products set supplier=该商品信息由个人提供 where supplier is null
修改数据
任务三: 案例25:删除news表中的全部数据 SQL语句:delete from news 案例26:删除products表中exhaust_gas(排气量)在2.4以下的记录。 SQL语句:delete from products where exhaust_gase2.4 删除数据
3.2.4 插入、修改和删除数据综合案例
3.2.4 插入、修改和删除数据综合案例
任务二: 案例23 在“products”表中,把原来supplier(供应商)字段为空的记录修改为“该商品信息由个人提供”。 SQL语句:update products set supplier=该商品信息由个人提供 where supplier is null
修改数据
任务三: 案例25:删除news表中的全部数据 SQL语句:delete from news 案例26:删除products表中exhaust_gas(排气量)在2.4以下的记录。 SQL语句:delete
原创力文档

文档评论(0)