Oracle 1z0 047 Exam
Exam Number/Code : 1z0-047
Exam Name : Oracle Database SQL Expert
Questions and Answers : 278 Q&As
Update Time: 2010-04-15
1. 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: AD
2. View the Exhibit and examine the description of the EMPLOYEES table.
Your company decided to give a monthly bonus of $50 to all the employees who have completed five years in the
company. The following statement is written to display the LAST_NAME, DEPARTMENT_ID, and the total annual
salary:
SELECT last_name, department_id, salary+50*12 "Annual Compensation"
from employees
WHERE MONTHS_BETWEEN(SYSDATE, hire_date)/12 >= 5;
When you execute the statement, the "Annual Compensation" is not computed correctly. What changes would you
make to the query to calculate the annual compensation correctly?
A. Change the SELECT clause to SELECT last_name, department_id, salary*12+50 "Annual Compensation".
B. Change the SELECT clause to SELECT last_name, department_id, salary+(50*12) "Annual Compensation".
C. Change the SELECT clause to SELECT last_name, department_id, (salary+50)*12 "Annual Compensation".
D. Change the SELECT clause to SELECT last_name, department_id, (salary*12)+50 "Annual Compensation".
Answer: C
3. 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
4. Evaluate the following SQL statement:
ALTE
相关文档:
oracle 至今没有推出针对win7的版本,无奈之下查询网络,网上大虾表示修改refhost.xml文件即可。
进入自己实战阶段,从oracle官方下载oracle 10g for vista and windows2K8 x86版(for windows是支持vista内核的,win7的内核与2008以及vista的内核是一样)。
先点击安装,在安装的版本检测时提示目前oracle不支持version为6 ......
/*主要是为了看清连接逻辑,所以把异常Exception*/
import java.sql.*;
public class TestJDBC {
public static void main(String[] args) throws Exception {
ResultSet rs = null;
Statement stmt = null;
......
专有模式:
在专有服务器配置中,Oracle为每个连接到服务器得客户机启动一个专用服务器进程。一个客户机的专用服务器进程只为此客户机工作。各专用服务器进程完全独立,无需共享数据。在用户会话存在的整个过程中,相应的专用服务器进程一直存在,不论用户是否活动。直到用户会话终止后,该应用的专用服务器进程才终止。在 ......
Exam Number/Code : 1z0-047
Exam Name : Oracle Database SQL Expert
Questions and Answers : 278 Q&As
Update Time: 2010-04-15
1. Which two statements are true regarding the execution of the correlated subqueries? (Choose two.)
A. The nested query executes after the outer query returns th ......