网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

You need to design a student registration database that contains several tables storing academic information.The STUDENTS table stores information about a student. The STUDENT_GRADES table storesinformation about the student‘s grades. Both of the tables have a column named STUDENT_ID. The STUDENT_ID column in the STUDENTS table is a primary key.You need to create a foreign key on the STUDENT_ID column of the STUDENT_GRADES table thatpoints to the STUDENT_ID column of the STUDENTS table. Which statement creates the foreign key?()

A. CREATE TABLE student_grades (student_id NUMBER(12),semester_end DATE, gpa NUMBER(4,3), CONSTRAINT student_id_fk REFERENCES (student_id) FOREIGN KEY student (student_id));

B. CREATE TABLE student_grades(student_id NUMBER(12),semester_end DATE, gpa NUMBER(4,3), student_id_fk FOREIGN KEY (student_id) REFERENCES students (student_id));

C. CREATE TABLE student_grades(student_id NUMBER(12),semester_end DATE, gpa NUMBER(4,3), CONSTRAINT FOREIGN KEY (student_id) REFERENCES student (student_id));

D. CREATE TABLE student_grades(student_id NUMBER(12),semester_end DATE, gpa NUMBER(4,3), CONSTRAINT student_id_fk FOREIGN KEY (student_id) REFERENCES students (student_id));


参考答案

更多 “ You need to design a student registration database that contains several tables storing academic information.The STUDENTS table stores information about a student. The STUDENT_GRADES table storesinformation about the student‘s grades. Both of the tables have a column named STUDENT_ID. The STUDENT_ID column in the STUDENTS table is a primary key.You need to create a foreign key on the STUDENT_ID column of the STUDENT_GRADES table thatpoints to the STUDENT_ID column of the STUDENTS table. Which statement creates the foreign key?()A. CREATE TABLE student_grades (student_id NUMBER(12),semester_end DATE, gpa NUMBER(4,3), CONSTRAINT student_id_fk REFERENCES (student_id) FOREIGN KEY student (student_id));B. CREATE TABLE student_grades(student_id NUMBER(12),semester_end DATE, gpa NUMBER(4,3), student_id_fk FOREIGN KEY (student_id) REFERENCES students (student_id));C. CREATE TABLE student_grades(student_id NUMBER(12),semester_end DATE, gpa NUMBER(4,3), CONSTRAINT FOREIGN KEY (student_id) REFERENCES student (student_id));D. CREATE TABLE student_grades(student_id NUMBER(12),semester_end DATE, gpa NUMBER(4,3), CONSTRAINT student_id_fk FOREIGN KEY (student_id) REFERENCES students (student_id)); ” 相关考题
考题 PCF通过()消息向PDSN发送一个激活停止结算记录。 A.ConnectCloseB.A11-Registration-RequestC.A9-Release-A8D.A11-Registration-Reply

考题 Your little girl is becoming very rude. You ________ scold her. A.mayB.canC.ought toD.need

考题 May I take this book out of the reading room? No,you . You read it in here. ( )A. mightn’tB. won’tC. need’tD. mustn’t

考题 Student: I'm nervous.Teacher:______. Betty, you'll finish it quickly.

考题 Which order of steps is followed in carrying out the project?A. Assessment-Prototype-Design-Construction.B. Assessment-Design-Prototype-Construction.C. Design-Assessment-Prototype-Construction.D. Design-Prototype-Assessment-Construction.

考题 [A] alternate [B] different [C] varied [D] several

考题 A passenger plane is able to carry a fixed weight, including passengers and fuel.Which wing design would be best for such a plane?A.Design 1B.Design 2C.Design 3D.Design 4

考题 The stages within the development phase of the software life cycle are ( 71 ).A.design, analysis, implementation, and testingB.analysis, design, implementation, and testingC.analysis, design, testing, and implementationD.design, analysis, testing, and implementation

考题 Several@functionscanexecutemultiplestatements.Whichoneofthefollowinginitializesavariableandcanincrementinduringtheoperation?() A.@doB.@forC.@whileD.@dowhile

考题 Refer to the exhibit. Which two statements about the topologies shown are correct?() A. Design 1 is a looped triangle design.B. Design 2 is a looped triangle design.C. Design 2 achieves quick convergence using RSTP.D. Both designs supportstateful services at the aggregation layer.E. Design 2 is the most widely deployed in enterprise data centers.