执行SQL语句delete
from Student 后()。
A: 删除了Student表中的全部记录
B: 没有删除Student表中的任何记录
C: 删除了Student表中的当前行记录
D: 删除了Student表
from Student 后()。
A: 删除了Student表中的全部记录
B: 没有删除Student表中的任何记录
C: 删除了Student表中的当前行记录
D: 删除了Student表
A
举一反三
- 语句DELETE FROM Student表明( )。 A: 删除基本表Student中的列 B: 删除Student中的全部记录 C: 删除基本表Student中的部分行 D: 删除基本表Student
- delete from student语句的作用是( ) A: 删除当前数据库中的整个student表,包括表结构 B: 删除当前数据库中student表内的所有行 C: 由于没有where子句,因此不删除任何数据 D: 删除当前数据库中student表内的当前行
- Delete from studentwhere s_id > 5该代码所表示的实际操作为 A: 删除student表中所有s_id B: 删除student表中所有s_id 大于5的记录 C: 删除student表中所有s_id 大于等于5的记录 D: 删除student表
- DELETE FROM student WHERE s_id>5, 对该代码含义描述正确的是() A: 删除student表中所有的s_id B: 删除student表中所有的s_id大于5的记录 C: 删除student表中所有的s_id大于等于5的记录 D: 删除student表
- 删除student表所有的记录,下列语句正确的是 A: DELETE FROM TABLE student; B: DELETE TABLE student; C: TRUNCATE TABLE student; D: TRUNCATE FROM TABLE student;
内容
- 0
在SQL查询语句中,"DELETE FROM Student WHERE 成绩4"的意思是______。 A: 删除Student表中成绩小于60并且学年大于4的记录 B: 删除Student表中成绩小于60或者学年大于4的记录 C: 删除Student表中的记录,但是保留成绩小于60并且学年大于4的记录 D: 删除Student表中的记录,但是保留成绩小于60或者学年大于4的记录
- 1
删除当前数据库中的表Student的语句应当是( )。 A: DELETE TABLE Student B: DELETE Student C: DROP Student D: DROP TABLE Student
- 2
下列关于删除表中记录的SQL语句,正确的是( )。 A: DELETE student,where id=11; B: DELETE FROM student where id=11; C: DELETE INTO student where id=11; D: DELETE student where id=11;
- 3
deletefromstudentwheres_id>5的代码如果取消wheres_id>5,执行deletefromstudent语句后的结果意味着什么? A: 删除表student B: 删除表student的所有记录 C: 删除数据库student D: 语句不完整,不能执行
- 4
语句 SELECT * FROM student;中“*”号表示( )。 A: student表的一个字段 B: student表的全部字段 C: student表的一条记录 D: student表的全部记录