22问答网
所有问题
当前搜索:
sql查询找出工资一千的人
一条
sql语句查询
每个员工的
工资
都大于5000的部门
答:
1、select * from 部门 2、where not exists (select * from 员工 where 员工.部门号=部门.部门号 and
工资
<= 5000)内容拓展:一、
SQL
语言,是
结构化查询语言
(Structured Query Language)的简称。SQL语言是一种数据库查询和程序设计语言,用于存取数据以及查询、更新和管理关系数据库系统;同时也是...
数据库
SQL语句
答:
参考下:1.select employee_name from employee where employee_name not in(select manager_name from manages) and street in (select street from employee join manages on employee.employee_name=manages.employee_name)and city in (select city from employee join manages on employee.employee_...
sql查询
所有男员工在2014-1-28的
工资
信息要求输出员工姓名及所以工资...
答:
select 姓名,员工编号,基本
工资
,社保公积金,奖金 from 员工表 where 性别=‘男’ and 日期=‘2014-01-28’
sql找出工资
最高的所有教师(不止一位教师具有相同工资)
答:
回答:select name, salary from instructor where salary=(select max(salary) from instructor)
[
sql
问题]
查找出
员工
工资
表中
薪水
第3高的员工记录。
答:
distinct top 3 payment from staff_payment order by payment)as temp)测试通过!思路:用distinct关键字去除重复记录.最内层语句选出
工资
排在前三名的记录,然后用max函数选出其最大值也就是第3高的工资。最外层语句则用工资匹配选出其所需第3高的员工记录。在
SQL
2000中测试通过,如有问题请指出。
Sql语句查询
答:
在这个答案中,我是排除了名字重复
的人
。只显示出不重复的名字,以及每个名字所对应的
工资
。(数据中有2个JIM,已经被排除)如果你想要排除重复名字的人之后所有人的总共的工资,则是:
sql
@kokooa>select sum(pay) from 2 (select name,count(name) as count,sum(pay) as pay from test013 3 ...
T-
SQL 查询
教师
工资
答:
select * from table t where t.
工资
between 2080 and 5000;select 性别,avg(工资) from table group by 性别
oracle 中的
sql语句查询
答:
1、select emp.* from emp,(select deptno,avg(sal) avg1 from emp group by deptno)B where emp.deptno=B.deptno and emp.sal>B.avg1;2、select emp.*,B.avg1 平均
工资
from emp,(select deptno,avg(sal) avg1 from emp group by deptno)B where emp.deptno=B.deptno and emp.sal>...
求大师帮忙
sql语句
怎么写?!!表如图!!急!!谢谢 Q:
查询工资
前30%的职工...
答:
select top 30 percent 姓名,性别,职称,
工资
from tableName order by 工资 desc
在access中创建
查询
“基本
工资
大于1700的张姓员工”的选择查询 如何操 ...
答:
创建
查询
切换到
SQL
代码模式下 select a.姓名,a.性别,b.基本
工资
from a left join b on a.员工ID=b.员工ID where b.基本工资>1700 and a.姓名 like N'张%'
棣栭〉
<涓婁竴椤
2
3
4
5
6
7
8
9
10
11
涓嬩竴椤
灏鹃〉
其他人还搜