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

📄 5db.txt

📁 the original code of the book the principle and practice in sql server 2005
💻 TXT
字号:
select * from 仓库 where 仓库号 not in(select 仓库号 from 职工)

select * from 职工 where 工资>=any(
 select 工资 from 职工 where 仓库号='wh2'

)

select * from 职工 where 工资>=(

select min(工资) from 职工 where 仓库号='wh2'
)

select * from 职工 where 工资<=any(
 select 工资 from 职工 where 仓库号='wh2'
)

select * from 职工 where 工资<=
(select max(工资) from 职工 where 仓库号='wh2')

select * from 职工 where 工资>=all(
select 工资 from 职工 where 仓库号='wh1'

)

select * from 职工 where 工资>=
(select max(工资) from 职工 where 仓库号='wh1')

select * from 职工 where 工资<=all
(select 工资 from 职工 where 仓库号='wh1')

select * from 职工 where 工资<=all
(select  min(工资) from 职工 where 仓库号='wh1')

select * from 职工 where 工资>all
(select avg(工资) from 职工 group by 仓库号)

select top 3 * from 职工 
order by 工资 desc

select top 40 percent * from 订购单 order by 金额 asc

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -