• 2022-06-17
    insert into stu values(?,?,?)是合法sql语句。
  • 举一反三

    内容

    • 0

      已知tScore表包含的字段是:学号(文本型,主键字段),课程号(文本型,主键字段),成绩(单精度数字型),下列哪个SQL语句是正确的( )。 A: INSERT INTO tScore VALUES ("20110101",91, "c2") B: INSERT INTO tScore(学号,成绩, 课程号) VALUES ("20110101",91, "c2") C: INSERT INTO tScore VALUES ("20110101",91) D: INSERT INTO tScore(学号,成绩) VALUES ("20110101",91)

    • 1

      下列选项中,采用指定表的字段名的方式向表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,”小王”);

    • 2

      INSERT语句可以一次性插入多条语句,关于插入多条语句的语法正确的是 A: INSERT ... VALUES B: INSERT ...VLUES ROW() C: INSERT ...SET D: INSERT ... SELECT

    • 3

      向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)

    • 4

      向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)