READ Free Dumps For Oracle- 1z0-001
Question ID 8081 | Examine the structure of STUDENT table. Name Null? Type. STUD-ID NOT NULL NUMBER(3) NAME NOT NULL VARCHER2(25) ADDRESS VARCHER2(50) GRADUATION DATE.Which statement inserts a new row into the STUDENT table? |
Option A | INSERT INTO student VALUES(101, 'Smith'); |
Option B | INSERT INTO student VALUES(101, '100 Main Street', '17-JUN-99', 'Smith'); |
Option C | INSERT INTO test VALUES(101, 'Smith', '100 Main Street', '17-JUN-99'); |
Option D | INSERT INTO student (stud-id,address,gradulation) VALUES(101, 'Smith', '100 Main Street', '17-JUN-99'); |
Option E | INSERT INTO student ( (stud-id,address,name,gradulation) VALUES(101, '100 Main Street','Smith', '17- JUN-99'); |
Correct Answer | E |
Question ID 8082 | Examine the structure of the STUDENT table. NAME NULL TYPE STUDENT_ID NOT NULL NUMBER(3) NAME NOT NULL VARCHAR2(25) ADDRESS VARCHAR2(50) GRADUATION DATE Graduation column is a foreign key column to the graduate table. Examine the data in the GRADUATE table. Graduation 20-jan-1999 12-may-1999 19-jan-2000 25-may-2000 13-jan-2001 29-may-2001 Which update statement produces the following error: ORA-02291 integrity constraint(sys_c23) violated parent key not found? |
Option A | UPDATE student SET stud-id=999, graduation= '29-MAY-2001' WHERE stud-id=101;' |
Option B | UPDATE student SET name= 'Smith', graduation= '29-MAY-2001' WHERE stud-id=101; |
Option C | UPDATE student SET name= 'Smith', graduation= '15-AUG-2000' WHERE stud-id=101 |
Option D | UPDATE student SET stud-id=NULL, address= '100 Main Street' WHERE graduation= '20-JAN-1999' |
Correct Answer | C |