向student表插入一条新记录的正确SQL语句是( )。
A: APPEND INTO student VALUES(′0401′,′王芳’,′女′,18)
B: APPEND student VALUES(′0401′,′王芳′,′女′,18)
C: INSERT INTO student VALUES(′0401′,′王芳′,′女′,18)
D: INSERT student VALUES(′0401′,′王芳′,′女′,18)
A: APPEND INTO student VALUES(′0401′,′王芳’,′女′,18)
B: APPEND student VALUES(′0401′,′王芳′,′女′,18)
C: INSERT INTO student VALUES(′0401′,′王芳′,′女′,18)
D: INSERT student VALUES(′0401′,′王芳′,′女′,18)
举一反三
- 向student表插入一条新记录的正确SQL语句是______。 A: INSERT INTO student VALUES("0401","丽萍","女",18) B: APPEND student VALUES("0401","丽萍","女",18) C: APPEND INTO student VALUES("0401","丽萍","女",18) D: INSERT student VALUES("0401","丽萍","女",18)
- 向student表插入一条新记录的正确SQL语句是()。 A: APPENDINTOstudentVALUES('0401','王芳','女',18) B: APPENDstudentVALUES('0401','王芳','女',18) C: INSERTINTOstudentVALUES('0401','王芳','女',18) D: INSERTstudentVALUES('0401','王芳','女',18)
- 在MySQL中,设有学生表Student(sno,sname,sage),各字段的含义分别是学生学号、姓名、年龄。下列语句会报错是________。 A: insert into Student(sno,sname,sage) values('201530','Jakc',18) B: insert into Student(sno,sname) values('201530','Jakc') C: insert into Student values('201530','Jakc') D: insert into Student values('201530','Jakc',18)
- 表student中的包含两个字段,整型的id,字符串型的name。向表student中插入一条记录的正确SQL语句( ) A: insert into student(2018001,“张三”) B: insert into student values(2018001,'张三') C: insert into student(2018001,'张三') D: insert into student values (2018001,“张三”)
- 下列选项中,采用指定表的字段名的方式向表Student中添加id为1,name为”小王”的记录值的SQL语句是"( ) A: INSERT INTO Student(“id”,”name”) VALUES(1,”小王”); B: INSERT INTO Student(id,name) VALUES(1,’小王’); C: INSERT INTO Student VALUES(1,”小王”); D: INSERT INTO Student(id,”name”) VALUES(1,”小王”);