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

设有职工表(部门号,职工号,姓名,性别,出生日期),查询所有目前年龄在40岁以下(包含40岁)的职工信息(姓名、性别和年龄),正确的命令是 ______。

查看本题答案

你可能感兴趣的试题

SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期)年龄 FROM 职工 WHERE年龄<=40  SELECT 姓名,性别, YEAR(DATE())-YEAR (出生日期) 年龄 FROM 职工 WHERE YEAR(出生日期)<=40  SELECT 姓名,性别, YEAR(DATE())-YEAR (出生日期) 年龄 FROM 职工 WHERE YEAR (DATE())-YEAR (出生日期)<=40  SELECT 姓名,性别,年龄=YEAR(DATE())-YEAR (出生日期) FROM 职工 WHERE YEAR(DATE())-YEAR(出生日期)<=40  
SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期)年龄 FROM 职工;
WHERE 年龄>35  
SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期)年龄 FROM 职工;
WHERE YEAR(出生日期)>35  
SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期)年龄 FROM 职工;
WHERE YEAR(DATE())-YEAR(出生日期)>35  
SELECT 姓名,性别,年龄=YEAR(DATE())-YEAR(出生日期) FROM 职工;
WUERE YEAR(DATE())-YEAR(出生日期)>35  
SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期)AS年龄FROM职工;   WHERE年龄>35  SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期)AS年龄FROM 职工;   WHERE YEAR(出生日期)>35  SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)AS年龄FROM 职工;   WHEREYEAR(DATE())-YEAR(出生日期)>35  SELECT姓名,性别,年龄:YEAR(DATE())-YEAR(出生日期)FROM 职工;   WHERE YEAR(DATE())-YEAR(出生日期)>35  
SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期)年龄 FROM 职工;WHERE 年龄<25  SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期) 年龄 FROM 职工;WHEREYEAR(出生日期)<25  SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期) 年龄 FROM 职工;WHERE YEAR(DATE())-YEAR(出生日期)<25  SELECT 姓名,性别,年龄=YEAR(DATE())-YEAR(出生日期)FROM职工;WHERE YEAR(DATE())-YEAR(出生日期)<25  
SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期)AS年龄FROM职工;WHERE年龄>35  SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期)AS年龄FROM 职工;WHERE YEAR(出生日期)>35  SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)AS年龄FROM 职工;WHEREYEAR(DATE())-YEAR(出生日期)>35  SELECT姓名,性别,年龄:YEAR(DATE())-YEAR(出生日期)FROM 职工;WHERE YEAR(DATE())-YEAR(出生日期)>35  
SELECT姓名,性别,YEAR(DAET())-YEAR(出生日期)年龄FROM职工; WHERE年龄>35  SELECT姓名,性别,YEAR(DAET())-YEAR(出生日期)年龄FROM职工;WHERE YEAR(出生日期)>35  SELECT姓名,性别,年龄=YEAR(DATE())-YEAR(出生日期)FROM职工; WHERE YEAR(DAET())-YEAR(出生日期)>35  SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)年龄FROM职工; WHERE YEAR(DATE())-YEAR(出生日期)>35  
SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期)年龄 FROM 职工 WHERE年龄<=40  SELECT 姓名,性别, YEAR(DATE())-YEAR (出生日期) 年龄 FROM 职工 WHERE
YEAR(出生日期)<=40  
SELECT 姓名,性别, YEAR(DATE())-YEAR (出生日期) 年龄 FROM 职工 WHERE
YEAR (DATE())-YEAR (出生日期)<=40  
SELECT 姓名,性别,年龄=YEAR(DATE())-YEAR (出生日期) FROM 职工 WHERE
YEAR(DATE())-YEAR(出生日期)<=40  
职工(职工号,职工姓名,性别,出生日期)部门(部门号,部门名称,电话) 工作(职工号,部门号,工作时间)  职工(职工号,职工姓名,性别,出生日期) 部门(部门号,部门名称,电话)工作(职工号,部门号,调入时间,调出时间)  职工(职工号,职工姓名,性别,出生日期) 部门(部门号,部门名称) 部门电话(部门号,电话)工作(职工号,部门号,调入时间,调出时间)  职工(职工号,职工姓名,性别,出生日期)
部门(部门号,部门名称) 部门电话(部门号,电话) 工作(职工号,部门号,工作时间)  
SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)年龄FROM职工WHERE年龄<=40  SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)年龄FROM职工WHERE YEAR(出生日期)<=40  SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)年龄FROM职工WHERE YEAR(DATE0)-YEAR(出生日期)<=40  SELECT姓名,性别,年龄=YEAR(DATE())-YEAR(出生日期)FROM职工WHERE YEAR(DATE0)-YEAR(出生日期)<=40  
SELECT * FROM 职工 WHERE 出生日期=1964-8-23  SELECT * FROM 职工 WHERE 出生日期=”1964-8-23”  SELECT * FROM 职工 WHERE 出生日期={^1964-8-23}  SELECT * FROM 职工 WHERE 出生日期={”1964-8-23”}  
SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期)AS年龄FROM职工;    WHERE年龄>35  SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期)AS年龄FROM 职工;   WHERE YEAR(出生日期)>35  SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)AS年龄FROM 职工;   WHEREYEAR(DATE())-YEAR(出生日期)>35  SELECT姓名,性别,年龄:YEAR(DATE())-YEAR(出生日期)FROM 职工;   WHERE YEAR(DATE())-YEAR(出生日期)>35  
SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)年龄FROM职工; WHERE年龄>35  SELECT姓名,性别,YEAR(DATE())-YEA良(出生日期)年龄FROM职工; WHERE YEAR(出生日期)>35  SELECT姓名,性别,YEAR((DATE())-YEAR(出生日期)年龄FROM职工; WHERE YEAR(DATE())-YEAR(出生日期)>35  SELECT姓名,性别,年龄=YEAR(DATE())-YEAR(出生日期)FROM职工; WHEREYEAR(DATE())-YEAR(出生日期)>35  
SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期) 年龄 FROM 职工 WHERE
年龄<=40  
SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期) 年龄 FROM 职工 WHERE
YEAR(出生日期)<=40  
SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期) 年龄 FROM 职工 WHERE
YEAR(DATE())-YEAR(出生日期)<=40  
SELECT 姓名,性别,年龄=YEAR(DATE())-YEAR(出生日期) FROM 职工 WHERE
YEAR(DATE())-YEAR(出生日期)<=40  
SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期) 年龄 FROM 职工 WHERE 年龄<=40  SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期) 年龄 FROM 职工 WHERE YEAR(出生日期)<=40  SELECT 姓名,性别,YEAR(DATE())—YEAR(出生日期) 年龄 FROM 职工 WHERE YEAR(DATE0)—YEAR(出生日期)<=40  SELECT 姓名,性别,年龄=YEAR(DATE())-YEAR(出生日期) FROM 职工 WHERE YEAR(DATE())-YEAR(出生日期)<=40  
SELECT 部门名,MAX(出生日期) FROM 部门JOIN 职工 ON 部门.部门号=职工.部门号 GROUP BY 部门名  SELECT部门名,MIN(出生日期) FROM 部门 JOIN 职工 ON 部门.部门号=职工.部门号 GROUP BY 部门名  SELECT部门名,MIN(出生日期) FROM 部门JOIN 职工 WHERE 部门.部门号=职工.部门号 GROUP BY 部门名  SELECT部门名,MAX(出生日期) FROM 部门 JOIN 职工 WHERE 部门.部门号=职工.部门号 GROUP BY 部门名  
SELECT 姓名,性别,YEAR(DATE())-YEAR(出生日期)年龄 FROM 职工 WHERE年龄<=40  SELECT 姓名,性别, YEAR(DATE())-YEAR (出生日期) 年龄 FROM 职工 WHERE  YEAR(出生日期)<=40  SELECT 姓名,性别, YEAR(DATE())-YEAR (出生日期) 年龄 FROM 职工 WHERE  YEAR (DATE())-YEAR (出生日期)<=40  SELECT 姓名,性别,年龄=YEAR(DATE())-YEAR (出生日期) FROM 职工 WHERE  YEAR(DATE())-YEAR(出生日期)<=40  
SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)年龄FROM职工;WHERE年龄<25  SELECT姓名,性别,YEAR(DATE())-YEAR(出日期)年龄FROM职工;WHEREYEAR(出生日期)<25  SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)年龄FROM职工;WHERE YEAR(DATE())-YEAR(出生日期)<25  SELECT姓名,性别,年龄=YEAR(DATE())-YEAR(出生日期)FROM职工;WHERE YEAR(DATE())-YEAR(出生日期)<25  
SELECT姓名,性别,YEAR(DATE)-YEAR(出生日期)年龄FROM职工; WHERE年龄>35  SELECT姓名,性别;YEAR(DATE)-YEAR(出生日期)年龄FROM职工; WHERE YEAR(出生日期)>35  SELECT姓名,性别,年龄=YEAR(DATE)-YEAR(出生日期)年龄FROM职工; WHERE YEAR(DATE)-YEAR(出生日期)>35  SELECT姓名,性别,YEAR(DATE)-YEAR(出生日期)年龄FROM职工; WHERE YEAR(DATE)-YEAR(出生日期)>35  
SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)年龄FROM职工;WHERE年龄<25  SELECT姓名,性别,YEAR(DATE())-YEAR(出日期)年龄FROM职工;WHEREYEAR(出生日期)<25  SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)年龄FROM职工;WHERE YEAR(DATE())-YEAR(出生日期)<25  SELECT姓名,性别,年龄=YEAR(DATE())-YEAR(出生日期)FROM职工;WHERE YEAR(DATE())-YEAR(出生日期)<25  
SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)AS年龄FROM职工;WHERE年龄>35  SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)AS年龄FROM 职工;WHERE YEAR(出生日期)>35  SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)AS年龄FROM 职工;WHEREYEAR(DATE())-YEAR(出生日期)>35  SELECT姓名,性别,年龄:YEAR(DATE())-YEAR(出生日期)FROM 职工;WHERE YEAR(DATE())-YEAR(出生日期)>35  

热门试题

更多