Oracle
1Z0-061 · Question #237
Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) Which three statements insert a row into the table? (Choose three.)
The correct answer is C. INSERT INTO employees VALUES ( 1000, 'John', NULL); E. INSERT INTO employees (employee_id) VALUES (1000); F. INSERT INTO employees (employee_id, first_name, last_name) VALUES ( 1000, 'John', ' '). EMPLOYEE_ID is a primary key.
Manipulating Data
Question
Examine the structure of the EMPLOYEES table:
EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) Which three statements insert a row into the table? (Choose three.)
Options
- AINSERT INTO employees VALUES ( NULL, 'John', 'Smith');
- BINSERT INTO employees( first_name, last_name) VALUES( 'John', 'Smith');
- CINSERT INTO employees VALUES ( 1000, 'John', NULL);
- DINSERT INTO employees (first_name, last_name, employee_id) VALUES ( 1000, 'John', 'Smith');
- EINSERT INTO employees (employee_id) VALUES (1000);
- FINSERT INTO employees (employee_id, first_name, last_name) VALUES ( 1000, 'John', ' ');
How the community answered
(54 responses)- A4% (2)
- B11% (6)
- C83% (45)
- D2% (1)
Explanation
EMPLOYEE_ID is a primary key.
Topics
#INSERT statement#DML syntax#NULL values#column list
Community Discussion
No community discussion yet for this question.