exam questions

Exam 1z0-882 All Questions

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

Exam 1z0-882 topic 1 question 19 discussion

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

You have two test tables:
✑ Code_innodb as InnoDB engine
✑ Code_ myisam as MYISAM engine
The tables have the same structure:

The tables have one row of data:

You execute an INSERT statement on both code_myisam tables and receive duplicate key errors: mysql> INSERT INTO code_innodb VALUES (1, Alpha), (2, Beta), (3, charlie,),(4, Delta);
ERROR 1062 (23000): Duplicate entry 3 for key PRIMARY
Mysql> INSERT INTO code_myisam VALUES (1, Alpha), (2, Beta), (3, charlie),
(4, Delta);
ERROR 1062 (23000); Duplicate entry 3 for key PRIMARY
What is the expected output of the SELECT statements?


  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
chehin
3 years, 1 month ago
Is it possible that there is an error in this question?
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 ...