DEMO EXAM
http://www.testkingworld.com
Scroll Down
Exam Name: Oracle Database 11g : SQL Fundamentals I
Exam Type: Oracle
Exam Code: 1Z0-051 Total Questions 105
Question: 1
Which statement is true regarding the INTERSECT operator?
A. It ignores NULL values.
B. Reversing the order of the intersected tables alters the result.
C. The names of columns in all SELECT statements must be identical.
D. The number of columns and data types must be identical for all SELECT statements in the
query.
Answer: D
Question: 2
Which three statements are true regarding the data types in Oracle Database 10g/11g? (Choose
three.)
A. Only one LONG column can be used per table.
B. A TIMESTAMP data type column stores only time values with fractional seconds.
C. The BLOB data type column is used to store binary data in an operating system file.
D. The minimum column width that can be specified for a VARCHAR2 data type column is one.
E. The value for a CHAR data type column is blank-padded to the maximum defined column
width.
Answer: A, D, E
Question: 3
Examine the structure of the PROGRAMS table:
Name Null? Type
---------- ------------- ---------------
PROG_ID NOT NULL NUMBER(3)
PROG_COST NUMBER(8,2)
START_DATE NOT NULL DATE
END_DATE DATE
Which two SQL statements would execute successfully? (Choose two.)
A. SELECT NVL(ADD_MONTHS(END_DATE,1),SYSDATE)
FROM programs;
B. SELECT TO_DATE(NVL(SYSDATE-END_DATE,SYSDATE))
FROM programs;
C. SELECT NVL(MONTHS_BETWEEN(start_date,end_date),'Ongoing')
FROM programs;
D. SELECT NVL(TO_CHAR(MONTHS_BETWEEN(start_date,end_date)),'Ongoing')
FROM programs;
Answer: A, D
Question: 4
View the Exhibit and examine the structure of the PROMOTIONS table.
Which two SQL statements would execute successfully? (Choose two.)
Page 1 of 56
Exam Name: Oracle Database 11g : SQL Fundamentals I
Exam Type: Oracle
Exam Code: 1Z0-051 Total Questions 105
A. UPDATE promotions
SET promo_cost = promo_cost+ 100
WHERE TO_CHAR(promo_end_date, 'yyyy') > '2000';
B. SELECT promo_begin_date
FROM promotions
WHERE TO_CHAR(promo_begin_date,'mon dd yy')='jul 01 98';
C. UPDATE promotions
SET promo_cost = promo_cost+ 100
WHERE promo_end_date > TO_DATE(SUBSTR('01-JAN-2000',8));
D. SELECT TO_CHAR(promo_begin_date,'dd/month')
FROM promotions
WHERE promo_begin_date IN (TO_DATE('JUN 01 98'), TO_DATE('JUL 01 98'));
Answer: A, B
Question: 5
View the Exhibit and evaluate structures of the SALES, PRODUCTS, and
COSTS tables.
Evaluate the following SQL statement:
SQL>SELECT prod_id FROM products
INTERSECT
SELECT prod_id FROM sales
MINUS
SELECT prod_id FROM costs;
Which statement is true regarding the above compound query?
Page 2 of 56
Exam Name: Oracle Database 11g : SQL Fundamentals I
Exam Type: Oracle
Exam Code: 1Z0-051 Total Questions 105
A. It produces an error.
B. It shows products that were sold and have a cost recorded.
C. It shows products that were sold but have no cost recorded.
D. It shows products that have a cost recorded irrespective of sales.
Answer: C
Question: 6
View the Exhibit and examine the structure of CUSTOMERS and SALES tables.
Evaluate the following SQL statement:
UPDATE (SELECT prod_id, cust_id, quantity_sold, time_id
FROM sales)
SET time_id = '22-MAR-2007'
WHERE cust_id = (SELECT cust_id
FROM customers
WHERE cust_last_name = 'Roberts' AND
credit_limit = 600);
Which statement is true regarding the execution of the above UPDATE statement?
Page 3 of 56
Exam Name: Oracle Database 11g : SQL Fundamentals I
Exam Type: Oracle
Exam Code: 1Z0-051 Total Questions 105
A. It would not execute because two tables cannot be used in a single UPDATE statement.
B. It would not execute because the SELECT statement cannot be used in place of the table
name.
C. It would execute and restrict modifications to only the columns specified in the SELECT
statement.
D. It would not execute because a subquery cannot be used in the WHERE clause of an
UPDATE statement.
Answer: C
Question: 7
You are currently located in Singapore and have connected to a remote database in Chicago.
You issue the following command:
SQL> SELECT ROUND(SYSDATE-promo_begin_date,0)
FROM promotions
WHERE (SYSDATE-promo_begin_date)/365 > 2;
PROMOTIONS is the public synonym for the public database link for the PROMOTIONS table.
What is the outcome?
A. an error because the ROUND function specified is invalid
B. an error because the WHERE condition specified is invalid
Page 4 of 56
Testking $79 Lifetime Membership Features;
- Testking $79 Lifetime Membership Package includes over 1700 Exams.
- All Testking questions and answers are included in $79 package.
- All Testking audio exams are included free in $79 package.
- All Testking study guides are included free in $79 package.
- Lifetime login access.
- Free updates for Lifetime.
- Free Download Access to All new exams added in future.
- Accurate answers with explanations.
- Questions accompanied by exhibits (If applicable)
- Verified answers researched by industry experts.
- Study Material updated on regular basis.
- Questions, Answers and Study Guides are downloadable in PDF format.
- Audio Exams are downloadable in MP3 format.
- No authorization code required to open exam.
- Portable anywhere.
- 100% success Guarantee.
- Fast, helpful support 24x7.
View list of All exams (Q&A) downloads
http://www.testkingworld.com/testking-questions-answers.asp
View list of All Study Guides (SG) downloads
http://www.testkingworld.com/testking-study-guides.asp
View list of All Audio Exams (AE) downloads
http://www.testkingworld.com/testking-audio-certifications.asp
Download All Exams Samples
http://www.testkingworld.com/testking-samples.asp
To purchase $79 Lifetime Full Access Membership click here
http://www.testkingworld.com/purchase.asp
3COM CompTIA Filemaker IBM LPI Oracle Sybase
ADOBE ComputerAssociates Fortinet IISFA McAfee PMI Symantec
APC CWNP Foundry Intel McData Polycom TeraData
Apple DELL Fujitsu ISACA Mile2 RedHat TIA
BEA ECCouncil GuidanceSoftware ISC2 NetworkAppliance Sair Tibco
BICSI EMC HDI ISEB Network-General SASInstitute TruSecure
CheckPoint Enterasys Hitachi ISM Nokia SCP Veritas
Cisco ExamExpress HP Juniper Nortel See-Beyond Vmware
Citrix Exin Huawei Legato Novell SNIA
CIW ExtremeNetworks Hyperion Lotus OMG Sun
(SAMPLE EXAM)
Note: Sample Exam is for DEMO purpose only it can be out-of-date. Full Version is up-to-date.
0 comments
Post a comment