IT업계에 종사하고 계시나요? 최근 유행하는 Oracle 1Z0-047 (Oracle Database SQL Expert) IT인증시험에 도전해볼 생각은 없으신지요? IT 인증자격증 취득 의향이 있으시면 저희. Pass4Test의 Oracle 1Z0-047 (Oracle Database SQL Expert) 덤프로 시험을 준비하시면 100%시험통과 가능합니다. Pass4Test의 Oracle 1Z0-047 (Oracle Database SQL Expert) 덤프는 착한 가격에 고품질을 지닌 최고,최신의 버전입니다. Pass4Test덤프로 가볼가요?
NO.1 You need to load information about new customers from the NEW_CUST table into the tables CUST
and CUST_SPECIAL. If a new customer has a credit limit greater than 10,000, then the details have to be
inserted into CUST_SPECIAL. All new customer details have to be inserted into the CUST table. Which
technique should be used to load the data most efficiently?
A.external table
B.the MERGE command
C.the multitable INSERT command
D.INSERT using WITH CHECK OPTION
Answer:C
NO.2 EMPDET is an external table containing the columns EMPNO and ENAME. Which command would
work in relation to the EMPDET table?
A.UPDATE empdet SET ename = 'Amit' WHERE empno = 1234;
B.DELETE FROM empdet WHERE ename LIKE 'J%';
C.CREATE VIEW empvu AS SELECT * FROM empdept;
D.CREATE INDEX empdet_idx ON empdet(empno);
Answer:C
NO.3 In which scenario would you use the ROLLUP operator for expression or columns within a GROUP BY
clause?
A.to find the groups forming the subtotal in a row
B.to create group-wise grand totals for the groups specified within a GROUP BY clause
C.to create a grouping for expressions or columns specified within a GROUP BY clause in one direction,
from right to left for calculating the subtotals
D.to create a grouping for expressions or columns specified within a GROUP BY clause in all possible
directions, which is cross-tabular report for calculating the subtotals
Answer:C
NO.4 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 the
order placed. You also want to display the subtotals for a CUSTOMER_ID as well as for a PRODUCT_ID
for the last six months. Which SQL statement would you execute to get the desired output?
A.SELECT o.customer_id, oi.product_id, SUM(oi.unit_price*oi.quantity) "Total" FROM order_items oi
JOIN orders o ON oi.order_id=o.order_id GROUP BY ROLLUP (o.customer_id,oi.product_id) WHERE
MONTHS_BETWEEN(order_date, SYSDATE) <= 6;
B.SELECT o.customer_id, oi.product_id, SUM(oi.unit_price*oi.quantity) "Total" FROM order_items oi
JOIN orders o ON oi.order_id=o.order_id GROUP BY ROLLUP (o.customer_id,oi.product_id) HAVING
MONTHS_BETWEEN(order_date, SYSDATE) <= 6;
C.SELECT o.customer_id, oi.product_id, SUM(oi.unit_price*oi.quantity) "Total" FROM order_items oi
JOIN orders o ON oi.order_id=o.order_id GROUP BY ROLLUP (o.customer_id, oi.product_id) WHERE
MONTHS_BETWEEN(order_date, SYSDATE) >= 6;
D.SELECT o.customer_id, oi.product_id, SUM(oi.unit_price*oi.quantity) "Total" FROM order_items oi
JOIN orders o ON oi.order_id=o.order_id WHERE MONTHS_BETWEEN(order_date, SYSDATE) <= 6
GROUP BY ROLLUP (o.customer_id, oi.product_id) ;
Answer:D
NO.5 Which three tasks can be performed using regular expression support in Oracle Database 10g?
(Choose three.)
A.It can be used to concatenate two strings.
B.It can be used to find out the total length of the string.
C.It can be used for string manipulation and searching operations.
D.It can be used to format the output for a column or expression having string data.
E.It can be used to find and replace operations for a column or expression having string data.
Answer:C D E
NO.6 View the Exhibit and examine the description of the ORDERS table. Which two WHERE clause
conditions demonstrate the correct usage of conversion functions? (Choose two.)
A.WHERE order_date > TO_DATE('JUL 10 2006','MON DD YYYY')
B.WHERE TO_CHAR(order_date,'MON DD YYYY') = 'JAN 20 2003'
C.WHERE order_date > TO_CHAR(ADD_MONTHS(SYSDATE,6),'MON DD YYYY')
D.WHERE order_date IN ( TO_DATE('Oct 21 2003','Mon DD YYYY'), TO_CHAR('NOV 21 2003','Mon DD
YYYY') )
Answer:A B
NO.7 OE and SCOTT are the users in the database. The ORDERS table is owned by OE. Evaluate the
statements issued by the DBA in the following sequence: CREATE ROLE r1; GRANT SELECT, INSERT
ON oe.orders TO r1; GRANT r1 TO scott; GRANT SELECT ON oe.orders TO scott; REVOKE SELECT
ON oe.orders FROM scott; What would be the outcome after executing the statements?
A.SCOTT would be able to query the OE.ORDERS table.
B.SCOTT would not be able to query the OE.ORDERS table.
C.The REVOKE statement would remove the SELECT privilege from SCOTT as well as from the role R1.
D.The REVOKE statement would give an error because the SELECT privilege has been granted to the
role R1.
Answer:A
NO.8 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 order. Which
CREATE VIEW statement would create the view successfully?
A.CREATE OR REPLACE VIEW ord_vu (order_id,order_date) AS SELECT o.order_id, o.order_date,
COUNT(i.line_item_id) "NO OF ITEMS" FROM orders o JOIN order_items i ON (o.order_id = i.order_id)
GROUP BY o.order_id,o.order_date;
B.CREATE OR REPLACE VIEW ord_vu AS SELECT o.order_id, o.order_date, COUNT(i.line_item_id)
"NO OF ITEMS" FROM orders o JOIN order_items i ON (o.order_id = i.order_id) GROUP BY
o.order_id,o.order_date;
C.CREATE OR REPLACE VIEW ord_vu AS SELECT o.order_id, o.order_date, COUNT(i.line_item_id)
FROM orders o JOIN order_items i ON (o.order_id = i.order_id) GROUP BY o.order_id,o.order_date;
D.CREATE OR REPLACE VIEW ord_vu AS SELECT o.order_id, o.order_date, COUNT(i.line_item_id)||'
NO OF ITEMS' FROM orders o JOIN order_items i ON (o.order_id = i.order_id) GROUP BY
o.order_id,o.order_date WITH CHECK OPTION;
Answer:B
NO.9 Which two statements are true regarding the execution of the correlated subqueries? (Choose two.)
A.The nested query executes after the outer query returns the row.
B.The nested query executes first and then the outer query executes.
C.The outer query executes only once for the result returned by the inner query.
D.Each row returned by the outer query is evaluated for the results returned by the inner query.
Answer:A D
NO.10 View the Exhibit and examine the description of the CUSTOMERS table. You want to add a constraint
on the CUST_FIRST_NAME column of the CUSTOMERS table so that the value inserted in the column
does not have numbers. Which SQL statement would you use to accomplish the task?
A.ALTER TABLE CUSTOMERS ADD CONSTRAINT cust_f_name
CHECK(REGEXP_LIKE(cust_first_name,'
Oracle 1Z0-047 (Oracle Database SQL Expert) 시험대비덤프
Posted 2013/7/29 7:20:41 | Category: 미분류 | Tag: