5.sql
来自「数据库的开发事例」· SQL 代码 · 共 46 行
SQL
46 行
select * from 订购单
where 客户号 in
(select 客户号
from 客户
where 客户名称 ='交大机关')
delete from 订单明细表
where 订单号 in
(select 订单号
from 订购单
where 客户号 in
(select 客户号
from 客户
where 客户名称 ='交大机关')
)
delete from 订购单
where 客户号 in
(select 客户号
from 客户
where 客户名称 ='交大机关')
select * from 订购单
where 客户号 in
(select 客户号
from 客户
where 客户名称 ='交大机关')
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?