Weekend Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Pass 1z0-882 Exam Guide

Page: 2 / 4
Total 100 questions

Oracle Certified Professional, MySQL 5.6 Developer Questions and Answers

Question 5

Which three statement types can be prepared?

Options:

A.

LOAD DATA INFILE

B.

CREATE TABLE

C.

CREATE VIEW

D.

ALTER VIEW

E.

CALL

Question 6

Consider the stored procedure

CREATE PROCEDURE param_test (

IN P_in INT,

OUT P_out INT,

INPUT P_inout INT)

BEGIN

SELECT P_in, P_out, P_ inout;

SET P_in, P_inout

END

You execute a series of commands:

What is the output of the CALL and SELECT?

Options:

A.

(0,0,0) and (0,0,0)

B.

(0,0,0,) and (0,200,300)

C.

(0,NULL,0) and(0,200,300)

D.

(0,NULL,0) and (100,200,300)

Question 7

You started a MySQL command –line session with sq1_ mode (empty), and created the person table with the structure:

Mysql> DESC person;

You issue:

INSERT INTO person VALUES (‘casper’, ‘undefined’)

What is the effect?

Options:

A.

‘Casper’ and ‘ undefined values are inserted into the ‘name’ and gender’ column.

B.

The server returns an error indicating that ‘undefined’ cannot be inserted into a column of ENUM type

C.

The server returns a warning and the empty string is inserted to the ‘gender’ column.

D.

The server returns a warning and the first specified value ,”male” is inserted to the gender column.

Question 8

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

Page: 2 / 4
Total 100 questions