你可能感兴趣的试题
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订单
WHERE EXISTS (SELECT*FROM 职员 WHERE 姓名=“李二”) SELECT 订单号,签订日期,金额 FROM 订单 WHERE
EXISTS(SELECT*FROM 职员 WHERE 职员号=订单.职员号 AND 姓名=“李二”) SELECT 订单号,签订日期,金额FROM 订单
WHERE IN (SELECT 职员号 FROM 职员 WHERE 姓名=“李二”) SELECT 订单号,签订日期,金额FROM 订单 WHERE
IN (SELECT 职员号 FROM 职员 WHERE职员号=订单.职员号 AND 姓名=“李二”)
SELECT 订单号,签订日期,金额 FROM 订单 WHERE EXISTS;(SELECT*FROM 职员 WHERE 姓名="李二") SELECT订单号,签订日期,金额 FROM 订单 WHERE EXISTS;(SELECT*FROM 职员 WHERE职员号=订单.职员号 AND 姓名="李二") SELECT 订单号,签订日期,金额 FROM 订单 WHERE IN;(SELECT 职员号 FROM 职员 WHERE 姓名="李二") SELECT 订单号,签订日期,金额 FROM 订单 WHERE IN;(SELECT 职员号 FROM 职员 WHERE 职员号=订单.职员号 AND 姓名="李二")
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
SELECT*TOP 10 PERCENT FROM订单 SELECTTOP 10%*FROM订单ORDERBY金额 SELECT*TOP 10 PERCENT FROM订单ORDER BY金额 SELECT TOP 10 PERCENT*FROM订单ORDER BY金额DESC
DROP FROM 订单 WHERE 客户号="1001" DROPFROM 订单 FOR 客户号="1001" DELETE FROM 订单 WHERE 客户号="1001" DELETE FROM 订单 FOR 客户号="1001"
UPDATE订单SET金额=169 WHERE订单号="0060" UPDATE订单SET金额WITH 169 WHERE订单号="0060" UPDATE FROM订单SET金额=169 WHERE订单号="0060" UPDATE FROM订单SET金额WITH 169 WHERE订单号="0060"
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职员号FROM订单GROUP BY职员号HAVlNG COUNT(*)>3 AND AVG_金额>200 SELECT职员号FROM订单GROUPBY职员号HAVINGCOUNT(*)>3 AND AVG(金额)>200 SELECT职员号FROM订单GROUP BY职员号HAVING COUNT(*)>3 WHERE AVG(金额)>200 SELECT职员号FROM订单GROUPBY职员号WHERE COUNT(*)>3 AND AVG_金额>200
DROPFROM订单WHERE客户号="1001" DROPFROM订单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职员号NOTIN(SELECT职员号FROM订单) SELECT职员.职员号,姓名FROM职员
WHERE职员.职员号<>(SELECT订单.职员号FROM订单)
SELECT订单号,签订日期,金额FROM订单;
WHERE EXISTS(SELECT*FROM职员WHERE姓名="李二") SELECT订单号,签订日期,金额FROM订单WHERE;
EXISTS(SELECT*FROM职员WHERE职员号=订单.职员号AND姓名="李二") SELECT订单号,签订日期,金额FROM订单;
WHEREIN(SELECT职员号FROM职员WHERE姓名="李二") SELECT订单号,签订日期,金额FROM订单WHERE;
IN(SELECT职员号FROM职员WHERE职员号=订单.职员号AND姓名="李二")
SELECT 订单号,签订日期,金额FROM订单 WHERE EXISTS (SELECT*FROM 职员 WHERE 姓名=“李二”) SELECT 订单号,签订日期,金额 FROM 订单 WHERE EXISTS(SELECT*FROM 职员 WHERE 职员号=订单.职员号 AND 姓名=“李二”) SELECT 订单号,签订日期,金额FROM 订单 WHERE IN (SELECT 职员号 FROM 职员 WHERE 姓名=“李二”) SELECT 订单号,签订日期,金额FROM 订单 WHERE IN (SELECT 职员号 FROM 职员 WHERE职员号=订单.职员号 AND 姓名=“李二”)
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
SELECT 订单号,签订日期,金额 FROM 订单 WHERE EXISTS(SELECT * FROM 职员 WHERE 姓名="王五") SELECT 订单号,签订日期,金额 FROM 订单 WHERE EXISTS(SELECT * FROM 职员 WHERE 职员号=订单.职员号 AND 姓名="王五") SELECT订单号,签订日期,金额 FROM 订单 WHERE IN(SELECT 职员号 FROM 职员 WHERE 姓名="李二") SELECT 订单号,签订日期,金额 FROM 订单 WHERE IN(SELECT 职员号 FROM 职员 WHERE 职员号=订单.职员号 AND 姓名="王五")
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
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 AND WHERE AVG (金额)>200 SELECT 职员号 FROM 订单 GROUP BY 职员号 WHERE COUNT(*)>3 AND AVG_金额>200