Oracle: Exam Questions 1Z0-071
Oracle: Exam Questions 1Z0-071
Oracle: Exam Questions 1Z0-071
Get the Full 1Z0-071 dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/1Z0-071-exam-dumps.html (318 New Questions)
Oracle
Exam Questions 1Z0-071
Oracle Database 12c SQL
NEW QUESTION 1
You are designing the structure of a table in which two columns have the specifications:
COMPONENT_ID – must be able to contain a maximum of 12 alphanumeric characters and uniquely identify the row
EXECUTION_DATETIME – contains Century, Year, Month, Day, Hour, Minute, Second to the maximum precision and is used for calculations and comparisons
between components.
Which two options define the data types that satisfy these requirements most efficiently?
Answer: CF
NEW QUESTION 2
View the exhibit and examine the structure of the CUSTOMERS table.
Which two tasks would require subqueries or joins to be executed in a single statement?
A. finding the number of customers, in each city, whose credit limit is more than the average credit limit of all the customers
B. finding the average credit limit of male customers residing in 'Tokyo' or 'Sydney'
C. listing of customers who do not have a credit limit and were born before 1980
D. finding the number of customers, in each city, who’s marital status is 'married'.
E. listing of those customers, whose credit limit is the same as the credit limit of customers residing in the city 'Tokyo'.
Answer: AE
NEW QUESTION 3
View the Exhibit and examine the structure of the CUSTOMERS and CUST_HISTORY tables.
The CUSTOMERS table contains the current location of all currently active customers.
The CUST_HISTORY table stores historical details relating to any changes in the location of all current as well as previous customers who are no longer active
with the company.
You need to find those customers who have never changed their address. Which SET operator would you use to get the required output?
A. INTERSECT
B. UNION ALL
C. MINUS
D. UNION
Answer: C
NEW QUESTION 4
Which two statements are true regarding savepoints? (Choose two.)
Answer: AB
NEW QUESTION 5
Examine the structure of the MEMBERS table: NameNull?Type
------------------------------------------------------------ MEMBER_IDNOT NULLVARCHAR2 (6)
FIRST_NAMEVARCHAR2 (50)
LAST_NAMENOT NULLVARCHAR2 (50)
ADDRESSVARCHAR2 (50)
CITYVARCHAR2 (25)
STATEVARCHAR2 (3)
You want to display details of all members who reside in states starting with the letter A followed by exactly one character.
Which SQL statement must you execute?
Answer: B
NEW QUESTION 6
You need to display the date 11-oct-2007 in words as ‘Eleventh of October, Two Thousand Seven’. Which SQL statement would give the required result?
Answer: C
NEW QUESTION 7
Evaluate the following statement. INSERT ALL
WHEN order_total < 10000 THEN INTO small_orders
WHEN order_total > 10000 AND order_total < 20000 THEN INTO medium_orders
WHEN order_total > 200000 AND order_total < 20000 THEN INTO large_orders
SELECT order_id, order_total, customer_id FROM orders;
Which statement is true regarding the evaluation of rows returned by the subquery in the INSERT statement?
A. They are evaluated by all the three WHEN clauses regardless of the results of the evaluation of any other WHEN clause.
B. They are evaluated by the first WHEN claus
C. If the condition is true, then the row would be evaluated by the subsequent WHEN clauses.
D. They are evaluated by the first WHEN claus
E. If the condition is false, then the row would be evaluated by the subsequent WHEN clauses.
F. The insert statement would give an error because the ELSE clause is not present for support in case none of WHEN clauses are true.
Answer: A
Explanation:
References:
http://psoug.org/definition/WHEN.htm
NEW QUESTION 8
Which two statements are true regarding the SQL GROUP BY clause?
Answer: DE
NEW QUESTION 9
Which statements are true? (Choose all that apply.)
Answer: CDF
Explanation:
References:
https://docs.oracle.com/cd/B10501_01/server.920/a96524/c05dicti.htm
NEW QUESTION 10
View the Exhibit and examine the structure of the CUSTOMERS table.
Using the CUSTOMERS table, you must generate a report that displays a credit limit increase of 15% for all customers.
Customers with no credit limit should have “Not Available” displayed. Which SQL statement would produce the required result?
Answer: C
NEW QUESTION 11
View the Exhibit and examine PRODUCTS and ORDER_ITEMS tables.
You executed the following query to display PRODUCT_NAME and the number of times the product has been ordered:
SQL>SELECT p.product_name, i.item_cnt
FROM (SELECT product_id, COUNT (*) item_cnt FROM order_items
GROUP BY product_id) i RIGHT OUTER JOIN products p ON i.product_id = p.product_id;
Answer: A
NEW QUESTION 12
Which three statements are true regarding single-row functions? (Choose three.)
A. The data type returned, can be different from the data type of the argument that is referenced.
B. They can return multiple values of more than one data type.
C. They can accept only one argument.
D. They can be nested up to only two levels.
E. They can be used in SELECT, WHERE, and ORDER BY clauses.
F. They can accept column names, expressions, variable names, or a user-supplied constants as arguments.
Answer: AEF
NEW QUESTION 13
Which two statements are true about sequences crated in a single instance Oracle database?
A. The numbers generated by an explicitly defined sequence can only be used to insert data in one table.
B. DELETE <sequencename> would remove a sequence from the database.
C. CURRVAL is used to refer to the most recent sequence number that has been generated for a particular sequence.
D. When the MAXVALUE limit for a sequence is reached, it can be increased by using the ALTER SEQUENCE statement.
E. When the database instance shuts down abnormally, sequence numbers that have been cached but not used are available again when the instance is
restarted.
Answer: CD
NEW QUESTION 14
The first DROP operation is performed on PRODUCTS table using the following command: DROP TABLE products PURGE;
Then you performed the FLASHBACK operation by using the following command: FLASHBACK TABLE products TO BEFORE DROP;
Which statement describes the outcome of the FLASHBACK command?
Answer: D
Explanation:
References:
https://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_9003.htm
NEW QUESTION 15
Which statement is true regarding the default behaviour of the ORDER by clause?
A. Numeric values are displayed in descending order if they have decimal positions.
B. Only columns that are specified in the SELECT list can be used in the ORDER by clause.
C. In a character sort, the values are case-sensitive.
D. NULLs are not including in the sort operation
Answer: C
NEW QUESTION 16
Examine the structure of the CUSTOMERS table: (Choose two.)
A. Subquery
B. Self-join
C. Full outer-join with self-join
D. Left outer-join with self-join
E. Right outer-join with self-join
Answer: AB
NEW QUESTION 17
Which statement is true regarding external tables?
A. The CREATE TABLE AS SELECT statement can be used to upload data into regular table in the database from an external table.
B. The data and metadata for an external table are stored outside the database.
C. The default REJECT LIMIT for external tables is UNLIMITED.
D. ORACLE_LOADER and ORACLE_DATAPUMP have exactly the same functionality when used with an external table.
Answer: A
Explanation:
References:
https://docs.oracle.com/cd/B28359_01/server.111/b28310/tables013.htm
NEW QUESTION 18
Which three statements are true regarding the WHERE and HAVING clauses in a SQL statement? (Choose three.)
Answer: ABD
NEW QUESTION 19
Which two statements are true regarding roles? (Choose two.)
Answer: BE
Explanation:
References:
http://docs.oracle.com/cd/E25054_01/network.1111/e16543/authorization.htm#autoId28
NEW QUESTION 20
Examine the structure of the BOOKS_TRANSACTIONS table:
You want to display the member IDs, due date, and late fee as $2 for all transactions. Which SQL statement must you execute?
Answer: C
NEW QUESTION 21
......
* 1Z0-071 Most Realistic Questions that Guarantee you a Pass on Your FirstTry
* 1Z0-071 Practice Test Questions in Multiple Choice Formats and Updatesfor 1 Year