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 (17)
CIW (15)
Compaq (0)
CompTIA (51)
CWNA (2)
EMC (2)
Exin (4)
GEJOS (4)
HDI (1)
HP (4)
IBM (13)
Juniper (1)
Linux Prof Institute (LPI) (2)
Lotus (11)
Microsoft (2461)
Network Appliance (2)
Novell (16)
Oracle (412)
PLSQL (1)
PMI (4)
SAS (1)
Sun (87)
Teradata (4)
Login:
Password:
RSS feed

Contacts
Certification links
Links
Authorized users can rate dumps.
Please log in or sign up.

  № 4943, Oracle 1z0-001: Be a successful  19.12.2002 
  Rates: 0 

1.Under which circumstance should you create an index on a table?

Ans:Two columns are consistently used
in the WHERE clause join condition of SELECT statements.

2.The PRODUCT table contains these columns:
ID NUMBER(7) PK
SALE_PRICE NUMBER(7,2)


Evaluate these two SQL statements:

1. SELECT MAX(sale_price), MIN(sale_price), AVG(sale_price) FROM product;

2. SELECT
ROUND(MAX(sale_price),2), ROUND(MIN(sale_price),2), ROUND(AVG(sale_price),2) FROM product
GROUP BY sale_price;

How will the results differ?


Ans: Statement 1 will display three values; statement 2 will display three values for each sale price.

3.Which query will you use to display
the names of all the tables you can access?

ANS:SELEC object_name
FROM all_objects
WHERE object_type = TABLE;

4.Review this SQL
statement:
SELECT ename, empno, sal
FROM emp WHERE deptno = (SELECT deptno FROM dept
WHERE UPPER(loc) = UPPER &loc))
When executing this
statement, which two could result?

Ans: The statement executes successfully if the LOC column in the DEPT table has unique values.
The
statement fails if the values returned from a multiple-row subquery are compared with an equality operator in the main query.

5.Which statement
would you use to remove the EMPLOYEE_ID_PK PRIMARY KEY constraint and all depending constraints from the EMPLOYEE table?

Ans: ALTER TABLE
employee
DROP PRIMARY KEYCASCADE;

6:Evaluate this PL/SQL block:
DECLARE
v_lower NUMBER := 2;
v_upper NUMBER := 100;
v_count NUMBER :=
1;
BEGIN
FOR i IN v_lower..v_lower LOOP
INSERT INTO test(results)
VALUES (v_count);
v_count := v_count + 1;
END LOOP;
END;

How
many times will the executable statements inside the FOR LOOP execute?

Ans: 1

7: Given this PL/SQL block:

BEGIN
INSERT INTO
employee(salary, last_name, first_name)
VALUES(35000, Wagner, Madeline);
SAVEPOINT save_a;
INSERT INTO employee(salary, last_name, first_name)

VALUES(40000, Southall, David);
SAVEPOINT save_b;
DELETE FROM employee
WHERE dept_no = 10;
SAVEPOINT save_c;
INSERT INTO
employee(salary, last_name, first_name)
VALUES(25000, Brown, Bert);
ROLLBACK TO SAVEPOINT save_c;
INSERT INTO employee(salary, last_name,
first_name)
VALUE(32000, Dean, Mike);
ROLLBACK TO SAVEPOINT save_b;
COMMIT;
END;

Which two changes to the database will be made
permanent? (Choose two.)

Ans: INSERT INTO employee(salary, last_name, first_name)
VALUES(40000, Southall, David);
INSERT INTO
employee(salary, last_name, first_name)
VALUES(35000, Wagner, Madeline);

8.The SALE table contains these columns:
ID NUMBER(9) PK

SALE_DATE DATE

You need to create a SQL script to prompt the user for an id number. The date of sale for the id number provided should be
updated with todays date.

Which SQL*Plus script would you use to achieve the desired results?

Ans: UPDATE sale
SET sale_date = sysdate

WHERE id = &id

9.Which SELECT statement is an equijoin query between two tables?

Ans: SELECT region.region_name, employee.salaryFROM
region, employee WHERE
region.id =employee.region_no

10.You are proposing to management that all employees receive a 10% salary increase and
receive a commission that is 20% of this newly increased salary. You are writing a report that will display the proposed salary, commission, and
total compensation.Evaluate these SQL statements:

1. SELECT sal * 1.1 "Salary", sal * 1.1 * .2 "Commission", sal * 1.1 + sal * 1.1 * .2
"Compensation"
FROM emp;

2. SELECT sal * 1.1 "Salary", sal * 1.1 * .2 "Commission", (sal * 1.1) + (sal * .2) "Compensation"
FROM
emp;

3. SELECT sal * 1.1 "Salary", sal * .2 "Commission", sal * 1.1 + sal * 1.1 * .2 "Compensation" FROM emp;

What are the results of
these statements?

Ans: Only statement one returns the desired result.



Up ^ gen. 0.064 Server date 05:59 22-11-2008 Developed by Zip © 2006 Up ^
Forum
Start online exam simulation
Master braindump
User braindumps
1z0-001 (31)
1Z0-007 (78)
1z0-023 (10)
1z0-024 (5)
1z0-025 (6)
1z0-026 (1)
1Z0-030 (4)
1Z0-031 (76)
1z0-032 (56)
1z0-033 (71)
1z0-040 (15)
1z0-042 (9)
1z0-043 (3)
1Z0-045 (1)
1z0-101 (1)
1z0-131 (5)
1z0-132 (2)
1z0-140 (1)
1z0-141 (11)
1z0-147 (26)