Download Oracle.1z0-882.PracticeTest.2019-04-10.60q.tqb

Vendor: Oracle
Exam Code: 1z0-882
Exam Name: MySQL 5.6 Developer
Date: Apr 10, 2019
File Size: 1 MB

Demo Questions

Question 1
Which two functions can be used in a C program to retrieve information about warning? (Choose two.)
  1. mysql_info
  2. mysql_error
  3. mysql_warning_count
  4. mysql_errno
Correct answer: AB
Question 2
You wish to create a trigger on the ‘city’ table that will check the value of the ‘District’ field before any INSERT. The trigger needs to change it to” Unknown” for an empty string or NULL. 
CREATE TRIGGER City_bi 
BEFORE INSERT ON CITY 
FOR EACH ROW 
BEGIN 
IF OLD. District IS NULL OR OLD.District= . . 
THEN 
SET NEW.District=’Unknown’; 
END IF :
END;  
Does the CREATE TRIGGER statement accomplish this goal?
  1. Yes; the trigger works correctly.
  2. No; FOR EACH ROW is invalid syntax.
  3. No; the syntax should be CREATE TRIGGER city-bi ON city BEFORE INSERT….
  4. No; the OLD keyword cannot be used in an INSERT trigger.
Correct answer: A
Question 3
The tab-delimited file”/tmp/people,txt contains:
This is the structure of the people table:
  
Which statement will load the first and last names into the Names column and the country into the country column?
  1. LOAD DATA INFILE ‘/tmp/people.txt’INTO TABLE  PEOPLE@First=$2. @Last=$3  @Country=$4 
    (CONCAT (@First, ‘  ‘,@Last) ,  @ Country)
  2. LOAD DATA INFILE ‘/tmp/people.txt ‘ INTO TABLE  People 
    @Skip=$1 , @ First=$2,  @Last=$3,  @ Country=4, 
    (CONCAT (@First, ‘  ‘ .@ Last) , @ Country)
  3. LOAD DATA INFILE ‘/tmp/people.txt ‘INTO TABLE People 
    (@ Skip, @First , @Last, @Country 
    SET  Name=CONCAT (@First, ‘  ‘,@Last)
  4. LOAD DATA  INFILE  ‘/tmp/people,txt, INTO TABLE People. 
    (@Skip. @First, @Last, @Country) 
    Country=@country
  5. It is not possible to load the data from the file/tmp/people.txt into the people table, as shown.
Correct answer: C
EXAM SIMULATOR

How to Open TQB Files?

Use Taurus Exam Simulator to open TQB files

Taurus Exam Simulator


Taurus Exam Simulator for Windows/macOS/Linus

Download

Taurus Exam Studio
Enjoy a 20% discount on Taurus Exam Studio!

You now have the chance to acquire Exam Studio at a discounted rate of 20%.

Get Now!
-->