exam questions

Exam 1z0-071 All Questions

View all questions & answers for the 1z0-071 exam

Exam 1z0-071 topic 1 question 90 discussion

Actual exam question from Oracle's 1z0-071
Question #: 90
Topic #: 1
[All 1z0-071 Questions]

Examine the description of the EMPLOYEES table:



Which two statements will insert a row into the EMPLOYEES table? (Choose two.)

  • A. INSERT INTO employees VALUES (101, 'John', 'Smith', 12000, SYSDATE);
  • B. INSERT INTO employees VALUES (101, 'John', 'Smith', 10, 12000, SYSDATE);
  • C. INSERT INTO employees (employee_id, salary, first_name, hiredate, last_name) VALUES (101, 12100, 'John', SYSDATE, 'Smith');
  • D. INSERT INTO employees (employee_id, first_name, last_name, salary, hiresate)
    VALUES ( (SELECT 101, 'John', 'Smith'. 12000, SYSDATE FROM dual) );
  • E. INSERT INTO employees SELECT 101, 'John', 'Smith', 12000, (SELECT SYSDATE FROM dual), 10 FROM dual;
  • F. INSERT INTO employees VALUES (101, 'John', ' ', 12000, SYSDATE, 10);
Show Suggested Answer Hide Answer
Suggested Answer: CE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Babi265
Highly Voted 2 years, 1 month ago
i am finding 3 that are correct. CEF
upvoted 7 times
...
Renad_16
Highly Voted 2 years, 1 month ago
I think it’s CE ?
upvoted 5 times
...
Thameur01
Most Recent 1 week, 6 days ago
Selected Answer: CE
C: Explicitly matches columns with their values. E: Uses a SELECT query to populate all columns correctly. F: Provides all values in the correct order.
upvoted 1 times
...
ArslanAltaf
9 months ago
CF is correct. in F, if have space between ' ' for last Name, it will be accepted. if there is no space, then not null constraint will apply.
upvoted 1 times
...
usarovsherzod68
9 months, 4 weeks ago
A, C for me. E is wrong because SELECT 101 is not correct.
upvoted 1 times
...
yaya32
12 months ago
Selected Answer: EF
EF is correct for me as ' ' is not null...
upvoted 1 times
...
lucemqy
1 year, 1 month ago
Selected Answer: CE
CE definitely works tested
upvoted 1 times
...
lucemqy
1 year, 2 months ago
Selected Answer: CD
CD also works
upvoted 1 times
...
lucemqy
1 year, 2 months ago
Selected Answer: CF
CF Should be the correct answer
upvoted 1 times
...
jm9999
1 year, 4 months ago
C, E worked. F gave me ora-01400
upvoted 1 times
...
TheOracleWasTaken
1 year, 5 months ago
Selected Answer: CF
E works too
upvoted 1 times
...
zouve
1 year, 6 months ago
CE tested
upvoted 1 times
zouve
1 year, 6 months ago
if there is a space iside ' ' on F is working
upvoted 1 times
...
...
Nelita
1 year, 7 months ago
Selected Answer: CE
CEF are corret. I checked in data base.
upvoted 2 times
...
CyberP
1 year, 7 months ago
Why A is wrong?
upvoted 1 times
CyberP
1 year, 7 months ago
Maybe AC are correct?
upvoted 3 times
TheOracleWasTaken
1 year, 5 months ago
when you specify the values keyword you must insert a value for every column in the table. If it permits nulls then just insert null
upvoted 1 times
shotcom
1 year, 3 months ago
https://www.techonthenet.com/oracle/insert.php according to that link You can omit a column from the Oracle INSERT statement if the column allows NULL values. so answer A is correct
upvoted 2 times
...
...
...
...
J4vi
1 year, 8 months ago
Selected Answer: CE
C E are correct. F would be ok whith an space between ' '. If you copy and paste the exact alternative from here, it works, but I imagine that the exam doesn't have that space and that's why the're only two correct options.
upvoted 2 times
...
kuff
1 year, 8 months ago
Selected Answer: CE
CE is the answer
upvoted 1 times
...
pmeyer
1 year, 8 months ago
Selected Answer: CE
"F" is a wrong because not null.
upvoted 1 times
yanoolthecool
1 year, 7 months ago
' ' is not a null, but its a bit confusing, since in some compilers ' ' is actually null, but appears to have a space between the 2 quotations when there actually isnt.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago