Other 1Z0-051 Exams :
1Z0-051 practice test
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: 2011-03-30
If you want to buy it, please clike here: 1Z0-051
Free 1Z0-051 Demo Download
Just4braindumps.info offers free demo for Other Oracle Certification 1Z0-051 exam (Oracle Database: SQL Fundamentals I). You can check out the interface, question quality and usability of our practice exams before you decide to buy it. We are the only one site can offer demo for almost all products.
1Z0-051 practice test
1Z0-051 Exam Description
It is well known that latest 1Z0-051 exam test is the hot exam of Oracle certification. Just4braindumps.info offer you all the Q&A of the 1Z0-051 real test . It is the examination of the perfect combination and it will help you pass 1Z0-051 exam at the first time!
Exam : Oracle 1Z0-051
Title : Oracle Database: SQL Fundamentals I
1. You need to extract details of those products in the SALES table where the PROD_ID column contains the string '_D123'.
Which WHERE clause could be used in the SELECT statement to get the required output?
A. WHERE prod_id LIKE '%_D123%' ESCAPE '_'
B. WHERE prod_id LIKE '%_D123%' ESCAPE ''
C. WHERE prod_id LIKE '%_D123%' ESCAPE '%_'
D. WHERE prod_id LIKE '%_D123%' ESCAPE '_'
Answer: B
2. Which SQL statements would display the value 1890.55 as $1,890.55? (Choose three .)
A. SELECT TO_CHAR(1890.55,'$0G000D00')
FROM DUAL;
B. SELECT TO_CHAR(1890.55,'$9,999V99')
FROM DUAL;
C. SELECT TO_CHAR(1890.55,'$99,999D99')
FROM DUAL;
D. SELECT TO_CHAR(1890.55,'$99G999D00')
FROM DUAL;
E. SELECT TO_CHAR(1890.55,'$99G999D99')
FROM DUAL;
Answer: ADE
3. View the Exhibit to examine the description for the SALES table.
Which views can have all DML operations performed on it? (Choose all that apply.)
A. CREATE VIEW v3
AS SELECT * FROM SALES
WHERE cust_id = 2034
WITH CHECK OPTION;
B. CREATE VIEW v1
AS SELECT * FROM SALES
WHERE time_id <= SYSDATE - 2*365
WITH CHECK OPTION;
C. CREATE VIEW v2
AS SELECT prod_id, cust_id, time_id FROM SALES
WHERE time_id <= SYSDATE - 2*365
WITH CHECK OPTION;
D. CREATE VIEW v4
AS SELECT prod_id, cust_id, SUM(quantity_sold) FROM SALES
WHERE time_id <= SYSDATE - 2*365
GROUP BY prod_id, cust_id
WITH CHECK OPTION;
Answer: AB
4. 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
5. View the Exhibit and examine the structure of the SALES, CUSTOMERS, PRODUCTS, and TIMES tables.
The PROD_ID column is the foreign key in the SALES table, which references the PRODUCTS table. Similarly, the CUST_ID and TIME_ID columns are also foreign keys in the SALES table referencing the CUSTOMERS and TIMES tables, respectively.
Evaluate the following CREATE TABLE command:
CREATE TABLE new_sales(prod_id, cust_id, order_date DEFAULT SYSDATE)
AS
SELECT prod_id, cust_id, time_id
FROM sales;
Which statement is true regarding the above command?
A. The NEW_SALES table would not get created because the DEFAULT value cannot be specified in the column definition.
B. The NEW_SALES table would get created and all the NOT NULL constraints defined on the specified columns would be passed to the new table.
C. The NEW_SALES table would not get created because the column names in the CREATE TABLE command and the SELECT clause do not match.
D. The NEW_SALES table would get created and all the FOREIGN KEY constraints defined on the specified columns would be passed to the new table.
Answer: B
6. 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
1Z0-051 practice test:
1Z0-051 practice test is regarded as one of the most favourite Other Oracle Certification certifications. Many IT professionals prefer to add 1Z0-051 exam among their credentials. Just4braindumps.info not only caters you all the information regarding the 1Z0-051 exam but also provides you the excellent 1Z0-051 exam questions which makes the certification exam easy for you.
Just4braindumps.info 1Z0-051 study guide Contents:
Just4braindumps.info 1Z0-051 study guide covers all the exam objectives to pass 1Z0-051 exam. It includes 1Z0-051 practice test, 1Z0-051 braindumps, 1Z0-051 exam dumps. you can free download Just4braindumps.info 1Z0-051 demo now.
Just4braindumps.info 1Z0-051 Feature:
* High quality - High quality and valued for the 1Z0-051 Exam: 100% Guarantee to Pass Your 1Z0-051 exam and get your Other Oracle Certification certification.
* Authoritative - Authoritative study guide with complete details about 1Z0-051 exam.
* Cheaper - Our Just4braindumps.info products are cheaper than any other website. With our completed 1Z0-051 resources, you will minimize your 1Z0-051 cost and be ready to pass your 1Z0-051 exam on Your First Try, 100% Money Back Guarantee included!
* Free - Try free 1Z0-051 demo before you decide to buy it in http://www.just4braindumps.info/.
Just4braindumps.info 1Z0-051 Guaranteed:
By purchasing our 1Z0-051 exam, you will have all that is necessary for completing Oracle 1Z0-051 exam with all 1Z0-051 study guide that is always up to date. You will receive the highest quality and support with Just4braindumps.info customer service (live chat) that will fulfill all of your certification needs. After you purchase our product, we will offer free update in time for 90 days. Purchase our 1Z0-051 study guide today, simply put, Just4braindumps.info is your key to opening up new doors for a brighter future!
