你可能感兴趣的试题
SELECT职员.职员号,姓名 FROM 职员 JOIN 订单 ON 订单.职员号=职员.职员号 GROUP BY职员.职员号 HAVING COUNT(*)=0 SELECT 职员.职员号,姓名 FROM 职员 LEFT JOIN 订单 ON 订单.职员号=职员.职员号 GROUP BY 职员.职员号 HAVING COUNT(*)=0 SELECT 职员号,姓名 FROM 职员 WHERE 职员号 NOT IN(SELECT 职员号 FROM 订单) SELECT 职员.职员号,姓名 FROM 职员 WHERE 职员.职员号<>(SELECT 订单.职员号 FROM 订单)
SELECT*TOP l0 PERCENT FROM订单 SELECT TOP l0%*FROM 订单 ORDER BY金额 SELECT*TOP l0 PERCENT FROM 订单 ORDER BY 金额 SELECT TOP l0 PERCENT*FROM 订单 ORDER BY 金额 DESC
DELETE FROM score WHERE课程号="Cl"AND学号="20091001" DELETE FROM score WHERE课程号=”Cl”OR学号="20091001" DELETE score WHERE课程号="Cl"AND学号="20091001" DELETE score课程号="Cl"OR学号="20091001"
DROP FROM 订单 WHERE客户号=“1001” DROP FROM 订单 FOR 客户号= “1001” DELETE FROM 订单 WHERE 客户号=“1001” DELETE FROM 订单 FOR 客户号=“1001”
SELECT职员.职员号,姓名 FROM 职员 JOIN 订单
ON 订单.职员号=职员.职员号 GROUP BY职员.职员号 HAVING COUNT(*)=0 SELECT 职员.职员号,姓名 FROM 职员 LEFT JOIN 订单
ON 订单.职员号=职员.职员号 GROUP BY 职员.职员号 HAVING COUNT(*)=0 SELECT 职员号,姓名 FROM 职员
WHERE 职员号 NOT IN(SELECT 职员号 FROM 订单) SELECT 职员.职员号,姓名 FROM 职员
WHERE 职员.职员号<>(SELECT 订单.职员号 FROM 订单)
SELECT 职员号 FROM 订单 GROUP BY 职员号 HAVING COUNT(*)>3 AND AVG 金额>200 SELECT 职员号 FROM 订单 GROUP BY 职员号 HAVING COUNT(*)>3 AND AVG (金额)>200 SELECT 职员号 FROM 订单 GROUP BY 职员号 HAVING COUNT(*)>3 WHERE AVG (金额)>200 SELECT 职员号 FROM 订单 GROUP BY 职员号 WHERE COUNT(*)>3 AND AVG金额>200
DROP FROM 订单 WHERE客户号=“1001” DROP FROM 订单 FOR 客户号= “1001” DELETE FROM 订单 WHERE 客户号=“1001” DELETE FROM 订单 FOR 客户号=“1001”
SELECT*TOP l0 PERCENT FROM订单 SELECT TOP l0%*FROM 订单 ORDER BY金额 SELECT*TOP l0 PERCENT FROM 订单 ORDER BY 金额 SELECT TOP l0 PERCENT*FROM 订单 ORDER BY 金额 DESC
交互式和嵌入式 解释式和交互式 嵌入式和解释式 命令式和交互式第29~35题使用如下二个表。员工表(32号,姓名,性别,职称)工资表(工号,工资)
APPEND INTO学生VALUES("10359999",’张三’,’男’,’会计’,{^1983-10-28}) INSERT INTO学生VALUES("10359999",’张三’,’男’,{^1983-10-28),’会计’) APPEND INTO学生VALUES("10359999",’张三’,’男’,{^1983-10-28},’会计’) INSERT INTO学生VALUES("10359999",’张三’,’男’,{^1983-10-28})
向学生表插入一条记录的正确命令是 ______。- APPEND INTO学生VALUES("10359999",’张三’,’男’,’会计’,{∧1983-10-28
不能根据自由表建立查询 只能根据自由表建立查询 只能根据数据库表建立查询 可以根据数据库表和自由表建立查询 第30~35题使用如下三个表: 部门.DBF://部门号C(8),部门名C(12),负责人C(6),电话C(16) 职工.DBF://部门号C(8),职工号C(10),姓名C(8),性别C(2),出生日期D 工资.DBF://职工号C(10),基本工资N(82),津贴N(8,2),奖金N(8,2),扣除N(8,2)
SELECT 职员号 FROM 订单 GROUP BY 职员号 HAVING COUNT(*)>3 AND
AVG 金额>200 SELECT 职员号 FROM 订单 GROUP BY 职员号 HAVING COUNT(*)>3 AND
AVG (金额)>200 SELECT 职员号 FROM 订单 GROUP BY 职员号 HAVING COUNT(*)>3 WHERE
AVG (金额)>200 SELECT 职员号 FROM 订单 GROUP BY 职员号 WHERE COUNT(*)>3 AND AVG金额>200
UPDATE 订单 SET 金额=169 WHERE 订单号=“0060” UPDATE 订单 SET 金额 WITH l69 WHERE 订单号=“0060” UPDATE FROM 订单 SET 金额=169 WHERE 订单号=“0060” UPDATE FROM 订单 SET 金额 WITH l69 WHERE 订单号=“0060”