Master the 1z0 051 latest dumps free download pdf Oracle Database: SQL Fundamentals I content and be ready for exam day success quickly with this Ucertify 1z0 051 dumps pdf exam question. We guarantee it!We make it a reality and give you real 1z0 051 dumps pdf questions in our Oracle 1z0 051 dumps braindumps.Latest 100% VALID Oracle 1z0 051 dumps pdf Exam Questions Dumps at below page. You can use our Oracle 1z0 051 latest dumps free download pdf braindumps and pass your exam.


♥♥ 2017 NEW RECOMMEND ♥♥

Free VCE & PDF File for Oracle 1Z0-051 Real Exam (Full Version!)

★ Pass on Your First TRY ★ 100% Money Back Guarantee ★ Realistic Practice Exam Questions

Free Instant Download NEW 1Z0-051 Exam Dumps (PDF & VCE):
Available on: http://www.surepassexam.com/1Z0-051-exam-dumps.html

Q101. - (Topic 1) 

Which are /SQL*Plus commands? (Choose all that apply.) 

A. INSERT 

B. UPDATE C. SELECT 

D. DESCRIBE 

E. DELETE 

F. RENAME 

Answer:

Explanation: 

Describe is a valid iSQL*Plus/ SQL*Plus command. 

INSERT, UPDATE & DELETE are SQL DML Statements. A SELECT is an ANSI Standard 

SQL Statement not an iSQL*Plus Statement. 

RENAME is a DDL Statement. 


Q102. - (Topic 1) 

Which is a valid CREATE TABLE statement? 

A. CREATE TABLE EMP9$# AS (empid number(2)); 

B. CREATE TABLE EMP*123 AS (empid number(2)); 

C. CREATE TABLE PACKAGE AS (packid number(2)); 

D. CREATE TABLE 1EMP_TEST AS (empid number(2)); 

Answer:

Explanation: Table names and column names must begin with a letter and be 1-30 

characters long. Characters A-Z,a-z, 0-9, _, $ and # (legal characters but their use is 

discouraged). 

Incorrect Answer: 

BNon alphanumeric character such as “*” is discourage in Oracle table name. 

DTable name must begin with a letter. 

Refer: Introduction to Oracle9i: SQL, Oracle University Study Guide, 9-4 


Q103. - (Topic 2) 

View the Exhibit and examine the structure of the PRODUCTS, SALES, and SALE_SUMMARY tables. 

SALE_VW is a view created using the following command: 

SQL>CREATE VIEW sale_vw AS 

SELECT prod_id, SUM(quantity_sold) QTY_SOLD 

FROM sales GROUP BY prod_id; 

You issue the following command to add a row to the SALE_SUMMARY table: 

SQL>INSERT INTO sale_summary 

SELECT prod_id, prod_name, qty_sold FROM sale_vw JOIN products 

USING (prod_id) WHERE prod_id = 16; 

What is the outcome? 

A. It executes successfully. 

B. It gives an error because a complex view cannot be used to add data into the SALE_SUMMARY table. 

C. It gives an error because the column names in the subquery and the SALE_SUMMARY table do not match. 

D. It gives an error because the number of columns to be inserted does not match with the number of columns in the SALE_SUMMARY table. 

Answer:


Q104. - (Topic 1) 

You are currently located in Singapore and have connected to a remote database in 

Chicago. 

You issue the following command: 

Exhibit: 

PROMOTIONS is the public synonym for the public database link for the PROMOTIONS table. 

What is the outcome? 

A. Number of days since the promo started based on the current Singapore data and time. 

B. An error because the ROUND function specified is invalid 

C. An error because the WHERE condition specified is invalid 

D. Number of days since the promo started based on the current Chicago data and time 

Answer:


Q105. - (Topic 1) 

See the Exhibit and Examine the structure of SALES and PROMOTIONS tables: Exhibit: 

You want to delete rows from the SALES table, where the PROMO_NAME column in the PROMOTIONS table has either blowout sale or everyday low price as values. 

Which DELETE statements are valid? (Choose all that apply.) 

A. 

DELETE FROM sales WHERE promo_id = (SELECT promo_id FROM promotions WHERE promo_name = 'blowout sale') AND promo_id = (SELECT promo_id FROM promotions WHERE promo_name = 'everyday low price'); 

B. 

DELETE FROM sales WHERE promo_id = (SELECT promo_id FROM promotions WHERE promo_name = 'blowout sale') OR promo_id = (SELECT promo_id FROM promotions WHERE promo_name = 'everyday low price'); 

C. 

DELETE FROM sales WHERE promo_id IN (SELECT promo_id FROM promotions WHERE promo_name = 'blowout sale' OR promo_name = 'everyday low price'); 

D. 

D DELETE FROM sales WHERE promo_id IN (SELECT promo_id FROM promotions WHERE promo_name IN ('blowout sale','everyday low price')); 

Answer: B,C,D 


Q106. - (Topic 1) 

You work as a database administrator at ABC.com. You study the exhibit carefully and examine the structure of CUSTOMRS AND SALES tables. 

Evaluate the following SQL statement: Exhibit: 

Which statement is true regarding the execution of the above UPDATE statement? 

A. It would execute and restrict modifications to only the column specified in the SELECT statement 

B. It would not execute because two tables cannot be used in a single UPDATE statement 

C. It would not execute because a sub query cannot be used in the WHERE clause of an UPDATE statement 

D. It would not execute because the SELECT statement cannot be used in place of the table name 

Answer:


Q107. - (Topic 2) 

Examine the structure of the EMPLOYEES and DEPARTMENTS tables: 

You want to create a report displaying employee last names, department names, and locations. Which query should you use to create an equi-join? 

A. SELECT last_name, department_name, location_id FROM employees , departments ; 

B. SELECT employees.last_name, departments.department_name, 

departments.location_id FROM employees e, departments D WHERE e.department_id =d.department_id; 

C. SELECT e.last_name, d.department_name, d.location_id FROM employees e, departments D WHERE manager_id =manager_id; 

D. SELECT e.last_name, d.department_name, d.location_id FROM employees e, departments D WHERE e.department_id =d.department_id; 

Answer:

Explanation: 

Equijoins are also called simple joins or inner joins. Equijoin involve primary key and foreign key. 

Incorrect Answer: Athere is no join B invalid syntax Cdoes not involve the join in the primary and foreign key 

Refer: Introduction to Oracle9i: SQL, Oracle University Study Guide, 4-8 


Q108. - (Topic 2) 

Evaluate the following query: 

SELECT INTERVAL '300' MONTH, 

INTERVAL '54-2' YEAR TO MONTH, 

INTERVAL '11:12:10.1234567' HOUR TO SECOND 

FROM dual; 

What is the correct output of the above query? 

A. +25-00 , +54-02, +00 11:12:10.123457 

B. +00-300, +54-02, +00 11:12:10.123457 

C. +25-00 , +00-650, +00 11:12:10.123457 

D. +00-300 , +00-650, +00 11:12:10.123457 

Answer:

Explanation: 

Datetime Data Types You can use several datetime data types: INTERVAL YEAR TO MONTH Stored as an interval of years and months INTERVAL DAY TO SECOND Stored as an interval of days, hours, minutes, and seconds 


Q109. - (Topic 2) 

Which three statements are true regarding views? (Choose three.) 

A. Views can be created only from tables. 

B. Views can be created from tables or other views. 

C. Only simple views can use indexes existing on the underlying tables. 

D. Both simple and complex views can use indexes existing on the underlying tables. 

E. Complex views can be created only on multiple tables that exist in the same schema. 

F. Complex views can be created on multiple tables that exist in the same or different schemas. 

Answer: B,D,F 

Explanation: 

Creating a Sequence (continued) 

CYCLE | NOCYCLE Specifies whether the sequence continues to generate values after 

reaching its maximum or minimum value 

(NOCYCLE is the default option.) 

CACHE n | NOCACHE Specifies how many values the Oracle server preallocates and 

keeps in memory (By default, the Oracle server caches 20 values.) 


Q110. - (Topic 1) 

The PART_CODE column in the SPARES table contains the following list of values: 

Which statement is true regarding the outcome of the above query? 

A. It produces an error. 

B. It displays all values. 

C. It displays only the values A%_WQ123 and AB_WQ123 . 

D. It displays only the values A%_WQ123 and A%BWQ123 . 

E. It displays only the values A%BWQ123 and AB_WQ123. 

Answer:

Explanation: 

Combining Wildcard Characters 

The % and _ symbols can be used in any combination with literal characters. The example in the slide displays the names of all employees whose last names have the letter “o” as the second character. 

ESCAPE Identifier 

When you need to have an exact match for the actual % and _ characters, use the ESCAPE identifier. This option specifies what the escape character is. If you want to search for strings that contain SA_, you can use the following SQL statement: SELECT employee_id, last_name, job_id FROM employees WHERE job_id LIKE '%SA\\_%' ESCAPE '\\'