1Z0-047 Exam Questions
226 real 1Z0-047 exam questions with expert-verified answers and explanations. Page 2 of 5.
- Question #52
View the Exhibit and examine the details for the CATEGORIES_TAB table. Evaluate the following incomplete SQL statement: SELECT category_name ,category_description FROM categories_t...
- Question #53
View the Exhibit and examine the structure of the LOCATIONS and DEPARTMENTS tables. Which SET operator should be used in the blank space in the following SQL statement to display t...
- Question #54
Which two statements are true regarding roles? (Choose two.)
- Question #55
View the Exhibit and examine the structure of ORDERS and ORDER_ITEMS tables. ORDER__ID is the primary key in the ORDERS table. It is also the foreign key in the ORDER_ITEMS table w...
- Question #56
Which two statements are true regarding the EXISTS operator used in the correlated subqueries? (Choose two.)
- Question #57
View the Exhibit and examine the structure of ORDER_ITEMS and ORDERS tables. You need to remove from the ORDER_ITEMS table those rows that have an order status of 0 or 1 in the ORD...
- Question #58
You need to create a table for a banking application with the following considerations: 1) You want a column in the table to store the duration of the credit period. 2) The data in...
- Question #59
View the Exhibit and examine the structure of the ORDERS table: The ORDER_ID column has the PRIMARY KEY constraint and CUSTOMER_ID has the NOT NULL constraint. No default values ha...
- Question #60
Which three statements are true regarding the usage of the WITH clause in complex correlated subqueries? (Choose three.)
- Question #61
View the Exhibit and examine the structure of the ORDERS and ORDER_ITEMS tables. Evaluate the following SQL statement: SELECT oi.order_id, product_id, order_date FROM order_items o...
- Question #62
Given below are the SQL statements executed in a user session: CREATE TABLE product (pcode NUMBER(2), pnameVARCHAR2(10)); INSERT INTO product VALUES(1, `pen'); INSERT INTO product...
- Question #63
View the Exhibit and examine the description of the ORDER_ITEMS table. The following SQL statement was written to retrieve the rows for the PRODUCT_ID that has a UNIT_PRICE of more...
- Question #64
View the Exhibit and examine the details of the EMPLOYEES table. You want to generate a hierarchical report for all the employees who report to the employee whose EMPLOYEE_ID is 10...
- Question #65
Which SQL statement would display the view names and definitions of all the views owned by you?
- Question #66
View the Exhibit and examine the description of the PRODUCT_INFORMATION table. SELECT product_name, list_price, min_price, list_price - min_price Difference FROM product_informatio...
- Question #67
Which two statements are true regarding subqueries? (Choose three.)
- Question #68
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_tot...
- Question #69
View the Exhibit and examine the structure of the EMPLOYEES and DEPARTMENTS tables. Which SET operator would you use in the blank space in the following SQL statement to list the d...
- Question #70
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 abov...
- Question #71
Which two statements are true regarding the execution of the correlated subqueries? (Choose two.)
- Question #72
Evaluate the following SQL statement: SELECT product_name || 'it's not available for order' FROM product_information WHERE product_status = 'obsolete'; You received the following e...
- Question #73
View the Exhibit and examine the details of the PRODUCT_INFORMATION table. Evaluate the following SQL statement: SELECT TO_CHAR(list_price ,'$9,999") FROM product_information; Whic...
- Question #74
Which three statements are true regarding single-row functions? (Choose three.)
- Question #75
Which statement correctly grants a system privilege?
- Question #76
Given below is a list of functions and their purpose in random order. Function Purpose 1)NVL a) Used for evaluating NOT NULL and NULL values 2)NULLIF b) Used to return the first no...
- Question #77
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 co...
- Question #78
View the Exhibit and examine the description of the PRODUCT_INFORMATION table. Which SQL statement would retrieve from the table the number of products having LIST_PRICE as NULL?
- Question #79
Evaluate the SQL statements: CREATE TABLE new_order (orderno NUMBER(4), booking_date TIMESTAMP WITH LOCAL TIME ZONE); The database is located in San Francisco where the time zone i...
- Question #80
View the Exhibit and examine the data in ORDERS and ORDER_ITEMS tables. You need to create a view that displays the ORDER ID, ORDER_DATE, and the total number of items in each orde...
- Question #82
Given below is the list of meta character syntaxes and their descriptions in random order: Meta character syntax Description 1) ^a) Matches character not in the list 2) [^...] b) M...
- Question #83
View the Exhibit and examine the structure of the ORDER_ITEMS table. Examine the following SQL statement: SELECT order_id, product_id, unit_price FROM order_jtems WHERE unit_price...
- Question #84
Evaluate the following expression using meta character for regular expression: '[^Ale|ax.r$]' Which two matches would be returned by this expression? (Choose two.)
- Question #86
Which statement is true regarding the SESSION_PRIVS dictionary view?
- Question #87
View the Exhibit and examine the descriptions of ORDER_ITEMS and ORDERS tables. You want to display the CUSTOMER_ID, PRODUCT_ID, and total (UNIT_PRICE multiplied by QUANTITY) for t...
- Question #88
View the Exhibit and examine the description of the EMPLOYEES table. Your company wants to give 5% bonus to all the employees on their annual salary. The SALARY column stores the m...
- Question #89
View the Exhibit and examine the structure of the CUSTOMERS table. CUSTOMER_VU is a view based on CUSTOMERS_BR1 table which has the same structure as CUSTOMERS table. CUSTOMERS nee...
- Question #91
View the Exhibit and examine the descriptions for ORDERS and ORDER_ITEMS tables. Evaluate the following SQL statement: SELECT o.customer_id, oi.product_id, SUM(oi.unit_price*oi. qu...
- Question #92
View the Exhibit and examine the structure of EMPLOYEES and JOB_IHISTORY tables. The EMPLOYEES table maintains the most recent information regarding salary, department, and job for...
- Question #93
View the Exhibit and examine the descriptions of the DEPT and LOCATIONS tables. You want to update the CITY column of the DEPT table for all the rows with the corresponding value i...
- Question #94
Which statements are true regarding the hierarchical query in Oracle Database 10g? (Choose all that apply.)
- Question #95
View the Exhibit and examine the structure of the PRODUCT_INFORMATION table. You want to see the product names and the date of expiration of warranty for all the products, if the p...
- Question #96
Evaluate the following ALTER TABLE statement: ALTER TABLE orders SET UNUSED order_date; Which statement is true?
- Question #97
View the Exhibit and examine the description of the EMPLOYEES table. You want to calculate the total remuneration for each employee. Total remuneration is the sum of the annual sal...
- Question #98
Which statement is true regarding synonyms?
- Question #99
Evaluate the following statement: CREATE TABLE bonuses(employee_id NUMBER, bonus NUMBER DEFAULT 100); The details of all employees who have made sales need to be inserted into the...
- Question #100
Evaluate the SQL statements: CREATE TABLE new_order (orderno NUMBER(4), booking_date TIMESTAMP WITH LOCAL TIME ZONE); The database is located in San Francisco where the time zone i...
- Question #101
Which three statements indicate the end of a transaction? (Choose three.)
- Question #102
View the Exhibit and examine the description of the EMPLOYEES and DEPARTMENTS tables. You want to display the LAST_NAME for the employees, LAST_NAME for the manager of the employee...
- Question #103
Given below is a list of datetime data types and examples of values stored in them in a random order: Datatype Example 1)INTERVAL YEAR TO MONTH a) 2003-04-15 8:00:00 -8:00' 2)TIMES...
- Question #106
View the Exhibit and examine the description of the ORDERS table. You need to display CUSTOMER_ID for all customers who have placed orders more than three times in the last six mon...