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

(31)到(35)题使用下列数据表。 仓库(仓库号C(3)、所在地C(8)、人数N(2)) 职工(仓库号C(3)、职工号C(2)、姓名C(8)、工资I)有下列SQL语句: INSERT INT...

查看本题答案

你可能感兴趣的试题

SELECT 仓库号,所在地,人数FROM仓库WHEREIN; (SELECT 仓库号 FROM 职工 WHERE 仓库号=职工.仓库号)  SELECT 仓库号,所在地,人数 FROM 仓库 WHERE 仓库号IN; SELECT 仓库号 FROM 职工WHERE 仓库号=仓库.仓库号  SELECT 仓库号,所在地,人数 FROM 仓库 WHERE NOT EXISTS; (SELECT 仓库号 FROM 职工 WHERE 仓库号=仓库.仓库号)  SELECT 仓库号,所在地,人数 FROM仓库 WHERE EXISTS; (SELECT 仓库号 FROM 职工 WHERE 仓库号=仓库.仓库号)  
SELECT 仓库号,COUNT(*) AS 人数,AVG (工资)AS 平均工资FROM 职工;
GROUP BY仓库号 WHERE COUNT(*)>=4  
SELECT仓库号,COUNT(*)AS人数,AVG(工资)AS平均工资FROM 职工;
GROUP BY仓库号 HAVING COUNT(*)>=4  
SELECT仓库号,COUNT(*) AS人数,AVG(工资)AS平均工资FROM职工;
GROUP BY职工号WHERE COUNT(*)>=4  
SELECT仓库号,COUNT(*)AS人数,AVG(工资)AS平均工资FROM职工;
GROUP BY职工号HAVING COUNT(*)>=4  
SELECT 仓库号,所在地,人数 FROM 仓库 WHERE IN;
(SELECT 仓库号 FROM 职工 WHERE 仓库号=职工.仓库号)  
SELECT 仓库号,所在地,人数 FROM 仓库 WHERE 仓库号 IN;
SELECT 仓库号 FROM 职工 WHERE 仓库号=仓库.仓库号  
SELECT 仓库号,所在地,人数 FROM 仓库 WHERE NOT EXISTS;
(SELECT 仓库号 FROM 职工 WHERE 仓库号=仓库.仓库号)  
SELECT 仓库号,所在地,人数 FROM 仓库 WHERE EXISTS;
(SELECT 仓库号 FROM 职工 WHERE 仓库号=仓库.仓库号)  
SELECT 仓库号,所在地,人数 FROM 仓库 WHERE IN; (SELECT 仓库号 FROM 职工 WHERE 仓库号=职工.仓库号)  SELECT 仓库号,所在地,人数 FROM 仓库 WHERE 仓库号 IN; SELECT 仓库号 FROM 职工 WHERE 仓库号=仓库.仓库号  SELECT 仓库号,所在地,人数 FROM 仓库 WHERE NOT EXISTS; (SELECT 仓库号 FROM 职工 WHERE 仓库号=仓库.仓库号)  SELECT 仓库号,所在地,人数 FROM 仓库 WHERE EXISTS; (SELECT 仓库号 FROM 职工 WHERE 仓库号=仓库.仓库号)  
SELECT 仓库号,所在地,人数FROM仓库WHEREIN;
(SELECT 仓库号 FROM 职工 WHERE 仓库号=职工.仓库号)  
SELECT 仓库号,所在地,人数 FROM 仓库 WHERE 仓库号IN;
SELECT 仓库号 FROM 职工WHERE 仓库号=仓库.仓库号  
SELECT 仓库号,所在地,人数 FROM 仓库 WHERE NOT EXISTS;
(SELECT 仓库号 FROM 职工 WHERE 仓库号=仓库.仓库号)  
SELECT 仓库号,所在地,人数 FROM仓库 WHERE EXISTS;
(SELECT 仓库号 FROM 职工 WHERE 仓库号=仓库.仓库号)  
SELECT 仓库号,所在地,人数 FROM 仓库 WHERE IN; (SELECT 仓库号 FROM 职工 WHERE 仓库号=职工.仓库号)  SELECT 仓库号,所在地,人数 FROM 仓库 WHERE 仓库号 IN; SELECT 仓库号 FROM 职工 WHERE 仓库号=仓库.仓库号)  SELECT 仓库号,所在地,人数 FROM 仓库 WHERE NOT EXISTS; (SELECT 仓库号 FROM 职工 WHERE 仓库号=仓库.仓库号)  SELECT 仓库号,所在地,人数 FROM 仓库 WHERE EXISTS; (SELECT 仓库号 FROM 职工 WHERE 仓库号=仓库.仓库号)  
SELECT DISTINCT 仓库号 FROM 职工 WHERE 工资>=ANY; (SELECT MAX(工资) FROM 职工 WHERE 仓库号="WH1")  SELECT DISTINC T仓库号 FROM 职工 WHERE 工资>=ANY; (SELECT 工资 FROM 职工 WHERE 仓库号="WH1")  SELECT DISTINCT 仓库号 FROM 职工 WHERE 工资>=ALL; (SELECT 工资 FROM 职工 WHERE 仓库号="WH1")  SELECT DISTINCT 仓库号 FROM 职工 WHERE 工资>=ALL; (SELECT MAX(工资) FROM 职工 WHERE 仓库号="WH1")  
CREATE TABLE 仓库 ADD 面积 N(7,2)  CREATE TABLE 仓库 ALTER 面积 N(7,2)  ALTER TABLE 仓库 ADD 面积 N(7,2)  ALTER TABLE 仓库 ALTER 面积 N(7,2)  
SELECT DISTINCT仓库号FROM职工WHERE工资>=ANY; (SELECT MAX(工资) FROM 职工 WHERE 仓库号="WH1")  SELECT DISTINCT仓库号 FROM 职工 WHERE 工资>=ANY; (SELECT 工资 FROM职工 WHERE 仓库号="WH1")  SELECT DISTINCT仓库号 FROM 职工 WHERE 工资>=ALL; (SELECT 工资 FROM职工 WHERE 仓库号="WH1")  SELECT DISTINCT仓库号 FROM 职工 WHERE 工资>=ALL; (SELECT MAX(工资)FROM 职工 WHERE仓库号="WH1")  
SELECT 仓库号,COUNT(*) AS人数,AVG(工资) AS 平均工资 FROM 职工; GROUPBY 仓库号 WHERE COUNT(*)>=4  SELECT 仓库号,COUNT(*) AS人数,AVG(工资) AS 平均工资 FROM 职工; GROUPBY 仓库号 HAVING COUNT(*)>=4  SELECT 仓库号,COUNT(*) AS人数,AVG(工资) AS 平均工资 FROM 职工; GROUPBY 职工号 WHERE COUNT(*)>=4  SELECT 仓库号,COUNT(*) AS人数,AVG(工资) AS 平均工资 FROM 职工; GROUPBY 职工号 HAVING COUNT(*)>=4  
CREATE TABLE仓库ADD面积N(7,2)  CREATE TABLE仓库ALTER面积N(7,2)  ALTER TABIE仓库ADD面积N(7,2)  LTER TABLE仓库ALTER面积N(7,2)  
SELECT DISTINCT 仓库号 FROM 职工 WHERE 工资>=ANY; (SELECT MAX(工资) FROM 职工 WHERE 仓库号="WH1")  SELECT DISTINCT 仓库号 FROM 职工 WHERE 工资>=ANY; (SELECT 工资 FROM 职工 WHERE 仓库号="WH1")  SELECT DISTINCT 仓库号 FROM 职工 WHERE 工资>=ALL; (SELECT 工资 FROM 职工 WHERE 仓库号="WH1")  SELECT DISTINCT 仓库号 FROM 职工 WHERE 工资>=ALL; (SELECT MAX(工资) FROM 职工 WHERE 仓库号="WH1")  
SELECT DISTINCT 仓库号 FROM 职工 WHERE 工资>=ANY;
(SELECT MAX(工资) FROM 职工 WHERE 仓库号="WH1")  
SELECT DISTINC T仓库号 FROM 职工 WHERE 工资>=ANY;
(SELECT 工资 FROM 职工 WHERE 仓库号="WH1")  
SELECT DISTINCT 仓库号 FROM 职工 WHERE 工资>=ALL;
(SELECT 工资 FROM 职工 WHERE 仓库号="WH1")  
SELECT DISTINCT 仓库号 FROM 职工 WHERE 工资>=ALL;
(SELECT MAX(工资) FROM 职工 WHERE 仓库号="WH1")  
SELECT仓库号,所在地,人数FROM仓库WHEREIN; (SELECT仓库号FROM职工WHERE仓库号=职工.仓库号)  SELECT仓库号,所在地,人数FROM仓库WHERE仓库号IN; SELECT仓库号FROM职工WHERE仓库号二仓库,仓库号  SELECT仓库号,所在地,人数FROM仓库WHERE NOT EXISTS; (SELECT仓库号FROM职工WHERE仓库号:仓库.仓库号)  SELECT仓库号,所在地,人数FROM仓库WHERE EXISTS; (SELECT仓库号FROM职工WHERE仓库号:仓库.仓库号)  
SELECT DISTINCT仓库号FROM职工WHERE工资>=ANY;
(SELECT MAX(工资) FROM 职工 WHERE 仓库号="WH1")  
SELECT DISTINCT仓库号 FROM 职工 WHERE 工资>=ANY;
(SELECT 工资 FROM职工 WHERE 仓库号="WH1")  
SELECT DISTINCT仓库号 FROM 职工 WHERE 工资>=ALL;
(SELECT 工资 FROM职工 WHERE 仓库号="WH1")  
SELECT DISTINCT仓库号 FROM 职工 WHERE 工资>=ALL;
(SELECT MAX(工资)FROM 职工 WHERE仓库号="WH1")  
CREATE TABLE 仓库 ADD 面积 N(7,2)  CREATE TABLE 仓库 ALTER 面积 N(7,2)  ALTER TABLE仓库 ADD 面积 N(7,2)  ALTER TABLE仓库 ALTER 面积N(7,2)  
SELECT 仓库号,COLINT(*) AS 人数,AVG(工资) AS 平均工资 FROM 职工;
GROUP BY 仓库号 WHERE COUNT(*)>=4  
SELECT 仓库号,COUNT(*) AS 人数,AVG(工资) AS 平均工资 FROM 职工;
GROUP BY 仓库号 HAVING COUNT(*)>=4  
SELECT 仓库号,COUNT(*) AS 人数,AVG (工资) AS 平均工资 FROM 职工;
GROUP BY 职工号 WHERE COUNT(*)>=4  
SEIECT 仓库号,COUNT(*) AS 人数,AVG(工资) AS 平均工资 FROM 职工;
GROUP BY 职工号 HAVING COUNT(*)>=4  
CREATE TABLE 仓库 ADD 面积 N(7,2)  CREATE TABLE 仓库 ALTER 面积 N(7,2)  ALTER TABLE 仓库 ADD 面积 N(7,2)  ALTER TABLE 仓库 ALTER 面积 N(7,2)  

热门试题

更多