QQ网名大全

数据库SQL语句

1 select * from 表名 where 部门ID = 20
2 select 员工号,员工名,部门号 from 表名 where 工种=CLERK
3 select * from 表名 where COMM>SAL
4 select * from 表名 where COMM>(SAL*0.2)
5 select * from 表名 where (部门ID = 10 and 工种=MANAGER) or(部门ID=20 and 工种=CLERK)
6 select * from 表名 where 工种!=MANAGER and 工种!=CLERK and 工资>1999
7 select 工种 from 表名 where 奖金 != null
佚名
2024-06-09 23:40:58
最佳回答
类似问题(10)