• 2022-06-04
    ‌设有如下关系表S(NO,NAME,SEX,AGE,CLASS),主关键字是NO,其中NO为学号,NAME为姓名,SEX为性别,AGE为年龄,CLASS为班号。插入“95031”班学号为30、姓名为“郑和”的学生记录,下列语句正确的是( )。‌
    A: INSERT INTO S VALUES(30,'郑和','95031')
    B: INSERT INTO S(NO,NAME,SEX,AGE,CLASS) VALUES(30,'郑和','95031')
    C: INSERT INTO S(NO,NAME,CLASS) VALUES(30,'郑和','95031')
    D: INSERT INTO S(NO,NAME,SEX,AGE,CLASS) VALUES(30,'郑和', 'NULL', 'NULL','95031')
  • 举一反三