English Русский Contacts Site map Add to favorites
Registration
Login
Master braindump list
New braindumps
Submit a dump
Get latest dump
braindumps.com.ua
flame
3COM (7)
Adobe (1)
BEA (1)
Checkpoint (22)
Cisco (20)
Citrix (21)
CIW (15)
Compaq (0)
CompTIA (51)
CWNA (2)
EMC (2)
Exin (4)
GEJOS (4)
HDI (1)
HP (4)
IBM (13)
Juniper (5)
Linux Prof Institute (LPI) (2)
Lotus (11)
Microsoft (2462)
Network Appliance (2)
Novell (16)
Oracle (422)
PLSQL (1)
PMI (4)
SAS (1)
Sun (87)
Teradata (4)
Login:
Password:
RSS feed

Contacts
Certification links
Links
Authorized user can see question and answers.
Please log in or sign up.

Exam question list:
Show all comments
Oracle 1Z0-007: Introduction to Oracle9i: SQL
#161. Examine the data in the EMPLOYEES and DEPARTMENTS tables:

Also examine the SQL statements that create the EMPLOYEES and DEPARTMENTS tables:
  1. CREATE TABLE departments
  2. (department_id NUMBER PRIMARY KEY,
  3. department_name VARCHAR2(30));
  4. CREATE TABLE employees
  5. (EMPLOYEE_ID NUMBER PRIMARY KEY,
  6. EMP_NAME VARCHAR2(20),
  7. DEPT_ID NUMBER REFERENCES
  8. departments(department_id),
  9. MGR_ID NUMBER REFERENCES
  10. employees(employee id),
  11. MGR_ID NUMBER REFERENCES
  12. employees(employee id),
  13. JOB_ID VARCHAR2(15).
  14. SALARY NUMBER);
  15. ON the EMPLOYEES,
On the EMPLOYEES table, EMPLOYEE_ID is the primary key. MGR_ID is the ID of managers and refers to the EMPLOYEE_ID. DEPT_ID is foreign key to DEPARTMENT_ID column of the DEPARTMENTS table. On the DEPARTMENTS table, DEPARTMENT_ID is the primary key.
Examine this DELETE statement:
  1. DELETE
  2. FROM departments
  3. WHERE department id = 40;
What happens when you execute the DELETE statement?

Show comments for this question (1)
Add comments
Link to this question

#162. You maintain two tables, CUSTOMER and PROSPECT, that have identical structures but different data. You want to synchronize these two tables by inserting records from the PROSPECT table into the CUSTOMER table, if they do not exist. If the customer already exists in the CUSTOMER table, you want to update customer data.
Which DML statement should you use to perform this task?

Show comments for this question (1)
Add comments
Link to this question

#163. Examine the structure of the EMPLOYEES table:

You need to update the records of employees 103 and 115. The UPDATE statement you specify should update the rows with the values specified below: JOB_ID: Default value specified for this column definition. SAL: Maximum salary earned for the job ID SA_REP.
COMM_PCT: Default value specified for this commission percentage column, if any.
If no default value is specified for the column, the value should be NULL.
DEPARTMENT_ID: Supplied by the user during run time through substitution variable.
Which UPDATE statement meets the requirements?

Show comments for this question (1)
Add comments
Link to this question

#164. You added a PHONE-NUMBER column of NUMBER data type to an existing EMPLOYEES table.
The EMPLOYEES table already contains records of 100 employees. Now, you want to enter the phone numbers of each of the 100 employees into the table.
Some of the employees may not have a phone number available.
Which data manipulation operation do you perform?

Show comments for this question (1)
Add comments
Link to this question

#165. Which two statements complete a transaction? (Choose two)

Show comments for this question (0)
Add comments
Link to this question

#166. Examine the data in the EMPLOYEES table.

On the EMPLOYEES table, EMPLOYEE_ID is the primary key. MGR_ID is the ID of managers and refers to the EMPLOYEE_ID. The JOB_ID column is a NOT NULL column.
Evaluate this DELETE statement:
  1. DELETE employee_id, salary, job_id
  2. FROM employees
  3. WHERE dept_id = 90;
Why does the DELETE statement fail when you execute it?

Show comments for this question (1)
Add comments
Link to this question

#167. Examine the structure of the EMPLOYEES table:

Which three statements inserts a row into the table? (Choose three)

Show comments for this question (1)
Add comments
Link to this question

#168. Examine the structure of the EMPLOYEES table:

You issue these statements:
  1. CREATE TABLE new_emp ( employee_id NUMBER, name VARCHAR2(30));
  2. INSERT INTO new_emp SELECT employee_id , last_name FROM
  3. employees;
  4. SAVEPOINT s1;
  5. UPDATE new_emp SET name = UPPER(name);
  6. SAVEPOINT s2;
  7. DELETE FROM new_emp;
  8. ROLLBACK TO s2;
  9. DELETE FROM new_emp WHERE employee_id =180;
  10. UPDATE new_emp SET name = 'James';
  11. ROLLBACK TO s2;
  12. UPDATE new_emp SET name = 'James' WHERE employee_id =180;
  13. ROLLBACK;
At the end of this transaction, what is true?

Show comments for this question (1)
Add comments
Link to this question

#169. Examine the data from the CLASS and INSTRUCTOR tables.

You want to delete the classes that do NOT have an instructor assigned. Which DELETE statement will accomplish the desired result?

Show comments for this question (1)
Add comments
Link to this question

#170. Which action will cause an automatic rollback?

Show comments for this question (1)
Add comments
Link to this question


  [1] ...  [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] ... [31 
Up ^ gen. 0.112 Server date 03:54 08-01-2009 Developed by Zip © 2006 Up ^
Forum
Start online exam simulation
Master braindump
User braindumps