下列选项中,能够一次给user表插入三条记录的SQL 语句是( )。
A: INSERT INTO user VALUES( 5,'张三');(6,'李四');(7, '王五');
B: INSERT INTO user VALUES( 5,'张三')(6,'李四')(7, '王五');
C: INSERT INTO user VALUES( 5,'张三'),(6,'李四'),(7, '王五');
D: INSERT INTO test VALUES( 5,'张三')VALUES(6,'李四')VALUES(7, '王五');
A: INSERT INTO user VALUES( 5,'张三');(6,'李四');(7, '王五');
B: INSERT INTO user VALUES( 5,'张三')(6,'李四')(7, '王五');
C: INSERT INTO user VALUES( 5,'张三'),(6,'李四'),(7, '王五');
D: INSERT INTO test VALUES( 5,'张三')VALUES(6,'李四')VALUES(7, '王五');
举一反三
- 下列选项中,能够一次性向student表中添加三条记录的SQL语句是 A: INSERT INTO student VALUES (6,'lilei',99);(7,'hanmeimei',100);(8,'poly',40.5); B: INSERT INTO student VALUES (6,'lilei',99) (7,'hanmeimei',100) (8,'poly',40.5); C: INSERT INTO student VALUES (6,'lilei',99),(7,'hanmeimei',100),(8,'poly',40.5); D: INSERT INTO student VALUES (6,'lilei',99) VALUES(7,'hanmeimei',100) VALUES(8,'poly',40.5);
- 下列选项中,采用不指定表的字段名的方式向表user中添加id为2,name为”小明”的记录,正确的SQL语句是 A: INSERT INTO user(“id”,”name”) VALUES(2,”小明”); B: INSERT INTO user VALUE(2,”小明”); C: INSERT INTO user VALUES(2,’小明’); D: INSERT INTO user(id,name) VALUES(2,’小明’);
- 张三说李四说谎,李四说王五说谎,王五说张三、李四都说谎。依据逻辑判断,下列哪项断定为真?() A: 张三说谎,李四、王五说真话 B: 李四说谎,张三、王五说真话 C: 张三、李四说谎,王五说真话 D: 张三、王五说谎,李四说真话
- 张三说李四在说慌,李四说王五在说慌,王五说张三张四都在说慌,问张三、 李四、王五三人,到底谁说真话,谁说假话?
- 表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,“张三”)