⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 5.sql

📁 数据库的开发事例
💻 SQL
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -