SELECT姓名性别,年龄FROM学生WHERE年龄<22 SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)as年龄FROM学生 WHERE YEAR(出生日期)<22 SELECT姓名,性别,YEAR(DATE())-YEAR(出生日期)as年龄FROM学生 WHERE;YEAR(DATE()).YEAR(出生日期)<22 SELECT姓名,性别,年龄=YEAR(DATE())-YEAR(出生日期)FROM学生 WHERE YEAR(DATE())-YEAR(出生日期)<22