Which three statements insert a row into the table?

Correct Answer for the Question – Which three statements insert a row into the table? is given below

Examine the structure of the EMPLOYEES table:EMPLOYEE_ID NUMBER Primary KeyFIRST_NAME VARCHAR2(25)LAST_NAME VARCHAR2(25)Which three statements insert a row into the table? (Choose three.) . EMPLOYEE_ID is a primary key.Incorrect answer:A. EMPLOYEE_ID cannot be nullB. EMPLOYEE_ID cannot be nullD. mismatch of field_name with datatypeRefer: Introduction to Oracle9i: SQL, Oracle University Study Guide, 10-11

INSERT INTO employees VALUES ( NULL, ‘John’, ‘Smith’);

INSERT INTO employees( first_name, last_name) VALUES( ‘John’, ‘Smith’);

INSERT INTO employees VALUES ( 1000, ‘John’, NULL);

INSERT INTO employees (first_name, last_name, employee_id) VALUES ( 1000, ‘John’, ‘Smith’);

INSERT INTO employees (employee_id) VALUES (1000);

INSERT INTO employees (employee_id, first_name, last_name) VALUES ( 1000, ‘John’, ‘ ‘);

Correct Answer

The Correct Answer for this Question is

INSERT INTO employees VALUES ( 1000, ‘John’, NULL);
INSERT INTO employees (employee_id) VALUES (1000);
INSERT INTO employees (employee_id, first_name, last_name) VALUES ( 1000, ‘John’, ‘ ‘);

The answers for the certifications of MNCs could be very tricky to understand. that’s why we have solved and pasted these exam answers here. The Question – Which three statements insert a row into the table? has been answered correctly and answers for various other similar questions could be found in the search box of this site.

More about these Exams

These Exam Questions and the order of these questions keep changing. but the answers are obviously same. so if you don’t find a question after another we suggest you search it in the search box and we are sure you’ll find it. you can bookmark this site for Quick access in future.

We hope you found it helpful don’t forget to leave a comment if you feel a need to correct or ask we’re always here to help.

you can find more here at mnccertified

Feel free to contact via comment or email.

Happy Learning

Cheers, Team MNCcertified

Leave a Comment