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

1z0-882 Premium Exam Questions

Page: 3 / 4
Total 100 questions

Oracle Certified Professional, MySQL 5.6 Developer Questions and Answers

Question 9

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.

Question 10

Which three view types are not updateable?

Options:

A.

A view created with the TEMPTABLE algorithm

B.

A view containing a GROUP BY clause

C.

A view containing a WHERE clause

D.

A view containing a HAVING clause

E.

A view that contains a literal column

Question 11

A MySQL command- line client is started with safe updates disabled.

Mysql - -safe – updates=0

What happens when you execute an UPDATE statement without a WHERE clause?

Options:

A.

Results in an error

B.

Updates every row in the specified table(s)

C.

Results in - -safe-updates being enabled automatically

D.

Causes a syntax error

Question 12

You attempt to create a temporary table by using the following statement:

CREATE TEMPORARY TABLE employeesMAIN

SELECT * FROM employees1

UNION ALL

SELECT * FROM employees2;

What is the result?

Options:

A.

An error is produced because you cannot create a TEMPORARY TABLE with a UNION.

B.

The employees common to both tables exist in employees MAIN.

C.

A unique list of employees exist in employeesMAIN.

D.

All rows from both tables exist in employeesMAIN.

Page: 3 / 4
Total 100 questions