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)/1 ......
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)/1 ......
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)/1 ......
服务器启动的过程
Oracle数据服务器的常规启动过程:
1、启动TNS监听 C:\Documents and Settings\Administrator>lsnrctl start
2、启动Oracle Services C:\Documents and Settings\Administrator>net start OracleServiceOrcl
服务器启动的8种
1、startup nomount 非安装启动,这种方式启动下可执行:重建控制文件、重建数据库 读取init.ora文件,启动instance,即启动SGA和后台进程,这种启动只需要init.ora文件。
2、startup mount dbname 安装启动,这种方式启动下可执行: 数据库日志归档、数据库介质恢复、使数据文件联机或脱机, 重新定位数据文件、重做日志文件。执行“nomount”,然后打开控制文件,确认数据文件和联机日志文件的位置,但此时不对数据文 ......
1.创建表:
a. 创建xs表中计算机专业学生的备份
Create table xs_jsj as select * from xs where zym=’计算机’;
b.完整的例子:
Create table test (xm char(20) not null,zy varchar(30) default (‘计算机’));
-- Create table
create table DEPT
(
DEPTNO NUM ......
1.创建表:
a. 创建xs表中计算机专业学生的备份
Create table xs_jsj as select * from xs where zym=’计算机’;
b.完整的例子:
Create table test (xm char(20) not null,zy varchar(30) default (‘计算机’));
-- Create table
create table DEPT
(
DEPTNO NUM ......