1Z0-051 Exam
Oracle Database: SQL Fundamentals I
* Exam Number/Code : 1Z0-051
* Exam Name : Oracle Database: SQL Fundamentals I
* Questions and Answers : 175 Q&As
* Update Time: 2010-06-24
* Price: $ 100.00
1. Which two statements are true regarding single row functions? (Choose two.)
A. They a ccept only a single argument.
B. They c an be nested only to two levels.
C. Arguments can only be column values or constants.
D. They a lways return a single result row for every row of a queried table.
E. They c an return a data type value different from the one that is referenced.
Answer: DE
2. Examine the structure of the SHIPMENTS table:
name Null Type
PO_ID NOT NULL NUMBER(3)
PO_DATE NOT NULL DATE
SHIPMENT_DATE NOT NULL DATE
SHIPMENT_MODE VARCHAR2(30)
SHIPMENT_COST NUMBER(8,2)
You want to generate a report that displays the PO_ID and the penalty amount to be paid if the SHIPMENT_DATE is later than one month from the PO_DATE. The penalty is $20 per day.
Evaluate the following two queries:
SQL> SELECT po_id, CASE
WHEN MONTHS_BETWEEN (shipment_date,po_date)>1 THEN
TO_CHAR((shipment_date – po_date) * 20) ELSE ‘No Penalty’ END PENALTY
FROM shipments;
SQL>SELECT po_id, DECODE
(MONTHS_BETWEEN (po_date,shipment_date)>1,
TO_CHAR((shipment_date – po_date) * 20), ‘No Penalty’) PENALTY
FROM shipments;
Which statement is true regarding the above commands?
A. Both execute successfully and give correct results.
B. Only the first query executes successfully but gives a wrong result.
C. Only the first query executes successfully and gives the correct result.
D. Only the second query executes successfully but gives a wrong result.
E. Only the second query executes successfully and gives the correct result.
Answer: C
Testinside Oracle 1Z0-051 Practice Tests are available in different formats for different scenarios. Now this does not matter that you are a busy professional or a student. Either you want in-depth studies of certification objectives or in quest of precise but comprehensive studies, Testinside is here to provide you with the Tool best suites your needs. Our state of the art Oracle 1Z0-051 Practice Tests are available as Testinside 1Z0-051 Questions & Answers with Explanations, 1Z0-051 Study Guides, 1Z0-051 Audio Learning and Preparation Labs.
Testinside 1Z0-051 Practice Questions are designed with questions, coupled with precise, logical and verified explanations. Our 1Z0-051 practice exam provides you with an examination experience like no other. Our 1Z0-051 practice exams and study questions are composed by current and active Information Technology experts, who use their experience in preparing you for your future in IT area.
SUN certification 1Z0-051 Question & Answers With the complete collection of 175 questions and answers Testinside has assembled to take you through your 1Z0-051 Exam preparation, you will cover every field and category helping to ready you for your successful Oracle Certification. Each Q & A set will test your existing knowledge of Oracle fundamentals, and is complemented by our Testing Engine.