问题
单项选择题
从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)。