New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Note! Following 1z0-882 Exam is Retired now. Please select the alternative replacement for your Exam Certification.

Verified By IT Certified Experts

CertsTopics.com Certified Safe Files

Up-To-Date Exam Study Material

99.5% High Success Pass Rate

100% Accurate Answers

Instant Downloads

Exam Questions And Answers PDF

Try Demo Before You Buy

Certification Exams with Helpful Questions And Answers

Oracle Certified Professional, MySQL 5.6 Developer Questions and Answers

Question 1

As a developer, you inherit this table as part of a project:

CREATE TABLE exam (

Exam_id INTEGER UNSIGNED NOT NULL PRIMARY KEY,

Examinee_id INTEGER UNSIGNED UNIQUE,

Score INTEGER UNSIGNED

)

What change should you make to ensure that examinee_id is an integer value throughout the table?

Options:

A.

The examinee_id column should be designated as PRIMARY KEY.

B.

A NOT NULL qualifier should be moved from exam-id to examinee-id.

C.

The PRIMARY KEY should be dropped and re-created as PRIMARY KEY (examinee-id, exam_id).

D.

A NOT NULL qualifier should be added to examinee_id.

Buy Now
Question 2

Which two can be used to obtain information stored in the Diagnostics Area?

Options:

A.

SHOW WARNINGS

B.

GET DIAGNOSTICS CONDITION 1 @errno=MYSQL_ERRNO, @msg =MESSAGE_TEXT;

SELECT @errno, @msg;

C.

SELECT ERRNO, MESSAGE_TEXT FROM INFORMATION_SCHEMA.DIAGNOSTICS_AREA WHERE CONDITION=1

D.

SHOW GLOBAL STATUS LIKE ‘Diagnostics’

Question 3

The people table contains the data as shown:

Which two statements return two rows each?

Options:

A.

SELECT DISTINCT last_name, first_name FROM people

B.

SELECT 1,2 FROM people GROUP BY last_name

C.

SELECT first_name, last _name FROM people WHERE age LIKE ‘2’

D.

SELECT 1, 2 FROM people WHERE last _name =’smith’

E.

SELECT first _name, last_name FROM people LIMIT 1, 2