在已建"职工"表中有姓名、性别、出生日期等字段,查询并显示所有年龄在50岁以上职工的姓名、性别和年龄,正确的SQL命令是
A.
SELECT 姓名, 性别, YEAR(DATE())-YEAR ([出生日期]) AS 年龄 FROM 职工 WHERE YEAR (Date())-YEAR ([出生日期])>50
B.
SELECT 姓名, 性别, YEAR (DATE ())-YEAR ([出生日期]) 年龄 FROM 职工 WHERE YEAR (Date())-YEAR ([出生日期])>50
C.
SELECT 姓名, 性别, YEAR (DATE ())-YEAR ([出生日期]) AS 年龄 FROM 职工 WHERE 年龄>50
D.
SELECT 姓名, 性别, YEAR(DATE ())-YEAR([出生日期]) 年龄 FROM 职工 WHERE 年龄>50