单选题 从student表删除年龄大于30的记录的正确SQL命令是
A) DELETE FOR 年龄>30
B) DELETE FROM student WHERE 年龄>30
C) DELETE student FOR 年龄>30
D) DELETE student WHERE 年龄>30

【正确答案】 B
【答案解析】[解析] 在表中删除记录的SQL语句格式为:delete from tablename [where condition],故答案为B)。