下列各题使用如下表: Student.dbf(学号,姓名,课程号,成绩) 从学生表中删除学号为“1001”的学生记录,正确的SQL语句是______。
A: DROP FROM Student WHERE学号="1001"
B: DROP FROM Student FOR学号="1001"
C: DELETE FROM Student WHERE学号="1001"
D: DELETE FROM Student FOR学号="1001"
A: DROP FROM Student WHERE学号="1001"
B: DROP FROM Student FOR学号="1001"
C: DELETE FROM Student WHERE学号="1001"
D: DELETE FROM Student FOR学号="1001"
举一反三
- 从学生表中删除学号为“1001”的学生记录,正确的SQL语句是______。 A: DROP FROM Student WHERE 学号="1001" B: DROP FROM Student FOR 学号="1001" C: DELETE FROM Student WHERE 学号="1001" D: DELETE FROM Student FOR 学号="1001"
- 从学生表中删除学号为“1001”的学生记录,正确的SQL语句是______。 A: DELETE FROM 学生 WHERE 学号="1001" B: DROP FROM 学生 FOR 学号="1001" C: DROP FROM 学生 WHERE 学号="1001" D: DELETE FROM 学生 FOR 学号="1001"
- 下列各题使用如下2个表: 学生表(学号,姓名,性别,出生日期,课程编号,成绩) 课程表(课程编号,课程名称) 从学生表中删除学号为“1001”的学生记录,正确的SQL语句是______。 A: DELETE FROM学生WHERE学号="1001" B: DROP FROM学生FOR学号="1001" C: DROP FROM学生WHERE学号="1001" D: DELETE FROM学生FOR学号="1001"
- 从订单表中删除客户号为“1001“的订单记录,正确的SQL语句是()。 A: DROP FROM 订单 WHERE 客户号='1001' B: DROP FROM 订单 FOR 客户号='1001' C: DELETE FROM 订单 WHERE 客户号='1001' D: DELETE FROM 订单FOR 客户号='1001'
- 有表成绩表(学号,课程号,成绩),删除学号为“201705180637”的信息,使用的SQL语句为:( ) A: delete * from 成绩表 where 学号='201705180637’ B: drop from 成绩表 where 学号='201705180637’ C: drop * from 成绩表 where 学号='201705180637’ D: delete 成绩表 where 学号='201705180637’