你可能感兴趣的试题
SELECT DISTINCT部门号FROM职工表WHERE工资>=ANY; (SELECT工资FROM职工表WHERE仓库号="W1") SELECT DISTINCT部门号FROM职工表WHERE工资>=ALL; (SELECT工资FROM职工表WHERE仓库号="W1") SELECT DISTINCT部门号FROM职工表WHERE工资>=ANY; (SELECT MAX(工资)FROM职工表WHERE仓库号+"W1") SELECT DISTINCT部门号FROM职工表WHERE工资>=ALL; (SELECT MIN(工资)FROM职工表WHERE仓库号="W1")
SELECT DISTINCT部门号 FROM 职工表 WHERE 工资>=ANY;
(SELECT 工资 FROM 职工表 WHERE 仓库号=“W1”) SELECT DISTINCT 部门号 FROM 职工表 WHERE 工资>=ALL;
(SELECT 工资 FROM 职工表 WHERE 仓库号=“W1”) SELECT DISTINCT 部门号 FROM 职工表 WHERE 工资>=ANY;
(SELECT MAX (工资) FROM 职工表 WHERE 仓库号=“W1”) SELECT DISTINCT 部门号 FROM 职工表 WHERE 工资>=ALL;
(SELECT MIN (工资) FROM 职工表 WHERE 仓库号=“W1”)
SELECT DISTINCT 部门号 FROM 职工表 WHERE 工资>=ANY;
(SELECT 工资 FROM 职工表 WHERE 仓库号=“W1”) SELECT DISTINCT 部门号 FROM 职工表 WHERE 工资>=ALL;
(SELECT 工资 FROM 职工表 WHERE 仓库号=“W1”) SELECT DISTINCT 部门号 FROM 职工表 WHERE 工资>=ANY;
(SELECT MAX(工资)FROM 职工表 WHERE 仓库号=“W1”) SELECT DISTINCT 部门号 FROM 职工表 WHERE 工资>=ALL;
(SELECT MIN (工资) FROM 职工表 WHERE 仓库号=“W1”)
查询工资大于1250的纪录 检索所有的职工号 查询1250号记录后的记录 从[职工]表中查询工资大于1250的职工号
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工资FROM职工WHERE仓库号="M1") SELECT DISTINCT仓库号FROM职工WHERE工资>=ALL; (SELECT工资FROM职工WHERE仓库号="M1") SELECT DISTINCT仓库号FROM职工WHERE工资>=ANY; (SELECT MAX(工资)FROM职工WHERE仓库号="W1") SELECT DISTINCT仓库号FROM职工WHERE工资>=ALL; (SELECTMIN(工资)FROM职工WHERE仓库号="M1")
SELECT姓名,仓库名FROM职工;
WHERE基本工资>3000 SELECT姓名,仓库名FROM仓库;
WHERE基本工资>3000 SELECT姓名,仓库名FROM职工,仓库;
WHERE(基本工资>3000)OR(职工.仓库号=仓库.仓库号) SELECT姓名,仓库名FROM职工,仓库;
WHERE(基本工资>3000)AND(职工.仓库号=仓库.仓库号)
SELECT DISTINCT 部门号 FROM 职工表 WHERE 工资>=ANY; (SELECT 工资 FROM 职工表 WHERE 仓库号=“W1”) SELECT DISTINCT 部门号 FROM 职工表 WHERE 工资>=ALL; (SELECT 工资 FROM 职工表 WHERE 仓库号=“W1”) SELECT DISTINCT 部门号 FROM 职工表 WHERE 工资>=ANY; (SELECT MAX(工资)FROM 职工表 WHERE 仓库号=“W1”) SELECT DISTINCT 部门号 FROM 职工表 WHERE 工资>=ALL; (SELECT MIN (工资) FROM 职工表 WHERE 仓库号=“W1”)
SELECT DISTINCT部门号 FROM 职工表 WHERE 工资>=ANY; (SELECT 工资 FROM 职工表 WHERE 仓库号=“W1”) SELECT DISTINCT 部门号 FROM 职工表 WHERE 工资>=ALL; (SELECT 工资 FROM 职工表 WHERE 仓库号=“W1”) SELECT DISTINCT 部门号 FROM 职工表 WHERE 工资>=ANY; (SELECT MAX (工资) FROM 职工表 WHERE 仓库号=“W1”) SELECT DISTINCT 部门号 FROM 职工表 WHERE 工资>=ALL; (SELECT MIN (工资) FROM 职工表 WHERE 仓库号=“W1”)
SELECT DISTINCT部门号FROM职工表WHERE工资>=ANY;
(SELECT工资FROM职工表WHERE仓库号="W1") SELECT DISTINCT部门号FROM职工表WHERE工资>=ALL;
(SELECT工资FROM职工表WHERE仓库号="W1") SELECT DISTINCT部门号FROM职工表WHERE工资>=ANY;
(SELECT MAX(工资)FROM职工表WHERE仓库号+"W1") SELECT DISTINCT部门号FROM职工表WHERE工资>=ALL;
(SELECT MIN(工资)FROM职工表WHERE仓库号="W1")
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 职工号,工资 FROM 职工表; WHERE 仓库表.所在城市="广州" SELECT 职工号,工资 FROM 职工表; WHERE 仓库表.仓库号=职工表.仓库号;AND 仓库表.所在城市="广州" SELECT 职工号,工资 FROM 仓库表,职工表; WHERE 仓库表.仓库号=职工表.仓库号;AND 仓库表.所在城市="广州" SELECT 职工号,工资 FROM 仓库表,职工表; WHERE 仓库表.仓库号=职工表.仓库号; OR 仓库表.所在城市="广州/
SELECT姓名,仓库名FROM职工;
WHERE基本工资>3000 SELECT姓名,仓库名FROM仓库;
WHERE基本工资>3000 SELECT姓名,仓库名FROM职工,仓库;
WHERE(基本工资>3000)OR(职工.仓库号=仓库.仓库号) SELECT姓名,仓库名FROM职工,仓库;
WHERE(基本工资>3000)AND(职工.仓库号=仓库.仓库号)