当前位置: X题卡 > 所有题目 > 题目详情

假设有职工表(职工号,仓库号,工资),将下面的SQL语句补充完整,求至少有两个职工的每个仓库的平均工资。 SELECT仓库号,COUNT(*),AVG(工资)FROM职工; GROUP BY仓库号...

查看本题答案

你可能感兴趣的试题

SELECT*FROM 职工表 WHERE仓库号="CK1"ORDER BY工资 DESC  SELECT*FROM 职工表 WHILE 仓库号="CK1"ORDER BY工资ASC  SELECT*FROM 职工表 WHERE 仓库号="CK1"ORDER BY工资ASC  SELECT*FROM 职工表 WHERE仓库号="CK1"GROUP BY 工资 DESC  
CREATE VIEW salary AS仓库号,AVG(52资)AS平均工资FROM职工表GROUP BY仓库号  CREATE VIEW salary AS SELECT仓库号,AVG(工资)AS平均工资FROM职工表GROUP BY职工号  CREATEVIEW Salary SELECT仓库号,AVG(工资)AS平均工资FROM职工表GROUPBY仓库号  CREATE VIEW salary AS SELECT仓库号,AVG(工资)AS平均工资FROM职工表GROUP BY仓库号  
CREATE VIEW salary AS 仓库号,AVG(工资)AS平均工资 FROM 职工表 GROUP BY 仓库号  CREATE VIEW salary AS SELECT 仓库号,AVG(工资)AS平均工资 FROM 职工表 GROUP BY 职工号  CREATE VIEW Salary SELECT 仓库号,AVG(工资)AS 平均工资 FROM 职工表 GROUP BY 仓库号  CREATE VIEW salary AS SELECT 仓库号,AVG(工资)AS 平均工资 FROM 职工表 GROUP BY仓库号  
SELECT*FROM职工表WHERE仓库号="CK1"ORDER BY工资DESC  SELECT*FROM职工表WHILE仓库号="CK1"ORDER BY工资ASC  SELECT*FROM职工表WHERE仓库号="CK1"ORDER BY工资ASC  SELECT*FROM职工表WHERE仓库号="CK1"GROUP BY工资DESC  

热门试题

更多