Oracle Certified Professional, MySQL 5.6 Developer - 1z0-882 Exam Practice Test

Inspect the query:
Mysql> SELECT count (emp_no) FROM titles WHERE title = 'senior staff';

How can this query be optimized?
Correct Answer: C
Which three statement types can be prepared?
Correct Answer: A,C,D
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Which two queries return a value of NULL?
Correct Answer: D,E
You have a database 'dev' that contains 15 tables, all of which use the CHARACTER SET 'utfs' and the COLLATION
'utfs_general_ci'.
You perform the command:
ALTER DATABASE 'dev' CHARACTER SET ='latin' COLLATION='latin1'_swedish_ci'
What is the result?
Correct Answer: C
Your MYSQL server was successfully running for a days, and then suddenly stopped .You are sure that no mysqld
process is running.
Which two may provide diagnostic information to help determine why the MYSQL server stopped?
Correct Answer: B,C
Which statement describes the process of normalizing databases?
Correct Answer: A
The people table contains the data as shown:

Which two statements return two rows each?
Correct Answer: C,D
You want to load data directly from a file into MYSQL by using the SOURCE command.
Which types of data can the file contains to perform this?
Correct Answer: D
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
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?
Correct Answer:
Consider the CREATE FUNCTION statement:
CREATE FUNCTION countrycount ()
BEGIN
DECLARE count INT;
SELECT COUNT (*) INTO count FROM country;
RETURN count ;
END
What is the outcome when you try to create the function?
Correct Answer: D
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).