亚洲香蕉成人av网站在线观看_欧美精品成人91久久久久久久_久久久久久久久久久亚洲_热久久视久久精品18亚洲精品_国产精自产拍久久久久久_亚洲色图国产精品_91精品国产网站_中文字幕欧美日韩精品_国产精品久久久久久亚洲调教_国产精品久久一区_性夜试看影院91社区_97在线观看视频国产_68精品久久久久久欧美_欧美精品在线观看_国产精品一区二区久久精品_欧美老女人bb

首頁 > 數據庫 > Oracle > 正文

Oracle 1Z0-051最新題庫,要的來

2024-08-29 13:53:44
字體:
來源:轉載
供稿:網友
大家好,我在http://download.csdn.net/source/836323上發的帖子,確實只是個demo,其題庫內容見下文,此為最新題庫的一部分,正式版題庫是175題。需要正式版本的朋友,可以直接聯系我或者到www.certinside.cn/1z0-051  上面看看,我們和testinside是一家的,需要的話我可以給你打個折,價格再議。我的QQ:390970748 
 
Exam   :  Oracle 1Z0-051
Title    :  Oracle Database: SQL Fundamentals I


1. Evaluate the following query:
SQL> SELECT PRomo_name  q'{'s start date was }'  promo_begin_date
AS "Promotion Launches"
FROM promotions;
What would be the outcome of the above query?
A. It produces an error because flower braces have been used.
B. It produces an error because the data  types are not matching.
C. It executes successfully and introduces an  's at the end of each promo_name in the output.
D. It executes successfully and displays the literal " {'s start date was } " for each row in the output.
Answer: C

2. 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

3. 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

4. View the Exhibit and examine the structure of the CUSTOMERS table.
Which two tasks would require subqueries or joins to be executed in a single statement? (Choose two.)
A. listing of customers who do not have a credit limit and were born before 1980
B. finding the number of customers, in each city, whose marital status is 'married'
C. finding the average credit limit of male customers residing in 'Tokyo' or 'Sydney'
D. listing of those customers whose credit limit is the same as the credit limit of customers residing in the city 'Tokyo'
E. finding the number of customers, in each city, whose credit limit is more than the average credit limit of all the customers
Answer: DE

5. View the Exhibit; e xamine the structure of the PROMOTIONS table.
Each promotion has a duration of at least seven days .
Your manager has asked you to generate a report,  which provides the weekly cost for each promotion done to l date.
Which query would achieve the required result?
A. SELECT promo_name, promo_cost/promo_end_date-promo_begin_date/7
FROM promotions;
B. SELECT promo_name,(promo_cost/promo_end_date-promo_begin_date)/7
FROM promotions;
C. SELECT promo_name, promo_cost/(promo_end_date-promo_begin_date/7)
FROM promotions;
D. SELECT promo_name, promo_cost/((promo_end_date-promo_begin_date)/7)
FROM promotions;
Answer: D

6. View the E xhibit and examine the data in the EMPLOYEES table.
You want to generate a report showing the total compensation paid to each employee to  date.
You issue the following query:
SQL>SELECT ename ' joined on ' hiredate
', the total compensation paid is '
TO_CHAR(ROUND(ROUND(SYSDATE-hiredate)/365) * sal + comm)
"COMPENSATION UNTIL DATE"
FROM employees;
What is the outcome?
A. It generates an error because the alias is not valid.
B. It executes successfully and gives the correct output.
C. It executes successfully but does not give the correct output.
D. It generates an error because the usage of the  ROUND function in the expression is not valid.
E. It generates an error because the concatenation operator can be used to combine only two items.
Answer: C

7. You need to produce a report where each customer's credit limit has been incremented by $1000. In the output, t he customer's last name should have the heading Name and the  incremented credit limit should be labeled New Credit Limit. The column headings should have only the first letter of each Word in uppercase .
Which statement would accomplish this requirement?
A. SELECT cust_last_name Name, cust_credit_limit + 1000
"New Credit Limit"
FROM customers;
B. SELECT cust_last_name AS Name, cust_credit_limit + 1000
AS New Credit Limit
FROM customers;
C. SELECT cust_last_name AS "Name", cust_credit_limit + 1000
AS "New Credit Limit"
FROM customers;
D. SELECT INITCAP(cust_last_name) "Name", cust_credit_limit + 1000
INITCAP("NEW CREDIT LIMIT")
FROM customers;
Answer: C

8. Which two  statements are true regarding the USING and ON clauses in table joins? (Choose two.)
A. Both USING and ON clauses can be used for equijoins and nonequijoins.
B. A maximum of one pair of columns can be joined between two tables using the ON clause.
C. The  ON clause can be used to join tables on columns that have different names but compatible data types.
D. The  WHERE clause can be used to apply additional conditions in SELECT statements containing the ON or the  USING clause.
Answer: CD

9. View the Exhibit and examine the data in the CUSTOMERS table.
Evaluate the following query:
SQL> SELECT cust_name AS "NAME", cust_credit_limit/2 AS MIDPOINT,MIDPOINT+100 AS "MAX LOWER LIMIT"
FROM customers;
The above query produces an error on execution.
What is the reason for the error?
A. An alias cannot be used in an expression.
B. The a lias NAME should not be enclosed with in double quotation marks .
C. The MIDPOINT+100 expression  gives an error because  CUST_CREDIT_LIMIT contains NULL values.
D. The a lias MIDPOINT should be enclosed with in double quotation marks  for the CUST_CREDIT_LIMIT/2 expression .
Answer: A

10. 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

11. View the Exhibit and examine the structure of the PRODUCTS table.
You need to generate a report in the following format:
CATEGORIES
5MP Digital Photo Camera's category is Photo
Y Box's category is Electronics
Envoy Ambassador's category is Hardware
Which two queries would give the required output? (Choose two.)
A. SELECT prod_name  q'''s category is '  prod_category CATEGORIES
FROM products;
B. SELECT prod_name  q'['s ]'category is '  prod_category CATEGORIES
FROM products;
C. SELECT prod_name  q'/'s/'  ' category is '  prod_category CATEGORIES
FROM products;
D. SELECT prod_name  q'<'s >'  'category is '  prod_category CATEGORIES
FROM products;
Answer: CD

12. 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

13. View the Exhibit and examine the structure of the PRODUCTS table.
All products have a list price.
You issue the following command to display the total price of each product after a discount of 25% and a tax of 15% are  applied on it. Freight charges of $100 have to be applied to all the products.
SQL>SELECT prod_name, prod_list_price -(prod_list_price*(25/100))
+(prod_list_price -(prod_list_price*(25/100))*(15/100))+100
AS "TOTAL PRICE"
FROM products;
What would be the outcome if all the parenthese s are removed from the above statement?
A. It produces a syntax error.
B. The result remains unchanged.
C. The total price value would be lower than the correct value.
D. The total price value would be higher than the correct value.
Answer: B

14. 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

15. 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

16. 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

17. Examine the structure of the PROMOTIONS table:
name           Null      Type
PROMO_ID       NOT NULL   NUMBER(6)
PROMO_NAME     NOT NULL   VARCHAR2(30)
PROMO_CATEGORY NOT NULL   VARCHAR2(30)
PROMO_COST     NOT NULL   NUMBER(10,2)
The management wants to see a report of unique promotion costs in each promotion category.
Which query would achieve the required result?
A. SELECT DISTINCT promo_cost, promo_category FROM promotions;
B. SELECT promo_category, DISTINCT promo_cost FROM promotions;
C. SELECT DISTINCT promo_cost, DISTINCT promo_category FROM promotions;
D. SELECT DISTINCT promo_category, promo_cost FROM promotions ORDER BY 1;
Answer: D

18. Using the CUSTOMERS table,  you need to generate a report that shows 50% of each  credit amount in each income level. The report should NOT show any repeated credit amounts in each income level.
Which  query would give the required result?
A. SELECT  cust_income_level, DISTINCT cust_credit_limit * 0.50
AS "50% Credit Limit"
FROM customers;
B. SELECT DISTINCT cust_income_level, DISTINCT cust_credit_limit * 0.50
AS "50% Credit Limit"
FROM customers;
C. SELECT DISTINCT cust_income_level  '  '  cust_credit_limit * 0.50
AS "50% Credit Limit"
FROM customers;
D. SELECT cust_income_level ' ' cust_credit_limit * 0.50 AS "50% Credit Limit"
FROM customers;
Answer: C

19. Evaluate the following query:
SELECT INTERVAL '300' MONTH,
INTERVAL '54-2' YEAR TO MONTH,
INTERVAL '11:12:10.1234567' HOUR TO SECOND
FROM dual;
What is the correct output of the above query?
A. +25-00 , +54-02, +00 11:12:10.123457
B. +00-300, +54-02, +00 11:12:10.123457
C. +25-00 , +00-650, +00 11:12:10.123457
D. +00-300 , +00-650, +00 11:12:10.123457
Answer: A

20. 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: ADE
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
亚洲香蕉成人av网站在线观看_欧美精品成人91久久久久久久_久久久久久久久久久亚洲_热久久视久久精品18亚洲精品_国产精自产拍久久久久久_亚洲色图国产精品_91精品国产网站_中文字幕欧美日韩精品_国产精品久久久久久亚洲调教_国产精品久久一区_性夜试看影院91社区_97在线观看视频国产_68精品久久久久久欧美_欧美精品在线观看_国产精品一区二区久久精品_欧美老女人bb
91精品国产乱码久久久久久久久| 国产精品高潮呻吟久久av野狼| 中文字幕精品视频| 日韩成人网免费视频| 人体精品一二三区| 91精品久久久久久久久中文字幕| 一个人看的www久久| 欧美高清在线视频观看不卡| 日本欧美国产在线| 日韩精品中文字幕久久臀| 久久久久久国产三级电影| 欧亚精品在线观看| 91精品久久久久久久久久另类| 亚洲精品日韩激情在线电影| 亚洲欧洲一区二区三区在线观看| 欧美激情免费观看| 欧美高清视频在线播放| 久久久精品一区二区三区| 久久久久久久激情视频| 欧美高清视频在线播放| 国产91精品久久久久久| 国产精欧美一区二区三区| 97香蕉久久夜色精品国产| 国产精品精品视频| 亚洲男人的天堂网站| 中文.日本.精品| 日韩欧美国产一区二区| 国外日韩电影在线观看| 国产精品中文字幕在线观看| 一本一本久久a久久精品综合小说| 中文字幕亚洲情99在线| 国产69精品99久久久久久宅男| 欧美在线免费视频| 国产91色在线| 在线观看视频99| 欧美性69xxxx肥| 国产欧美亚洲视频| 亚洲色图欧美制服丝袜另类第一页| 国产精品久久久久久搜索| 91九色单男在线观看| 欧美日韩中文在线观看| 亚洲free性xxxx护士白浆| 中文字幕亚洲欧美在线| 中文字幕日韩在线播放| 欧美成人免费观看| 亚洲欧美一区二区激情| 欧美精品在线极品| 91免费看片网站| 国产综合在线观看视频| 伊人久久免费视频| 亚洲欧美福利视频| 亚洲精品永久免费| 一区二区中文字幕| 国产精品日日摸夜夜添夜夜av| 日韩经典一区二区三区| 精品国产精品自拍| 黑人精品xxx一区| 精品高清美女精品国产区| 欧美视频国产精品| 亚洲精品国产精品自产a区红杏吧| 欧美激情xxxx| 亚洲视频在线观看| 欧美激情视频三区| 欧美激情一区二区三区成人| 日韩中文综合网| 在线观看中文字幕亚洲| 欧美大尺度激情区在线播放| 激情成人中文字幕| 久久在线观看视频| 精品国产91久久久久久| 日日狠狠久久偷偷四色综合免费| 久久久久久网址| www.亚洲天堂| 91精品久久久久久综合乱菊| 日韩日本欧美亚洲| 成人国产精品日本在线| 精品一区二区三区四区| 清纯唯美日韩制服另类| 国产视频精品在线| 欧美午夜精品在线| 一本一道久久a久久精品逆3p| 欧美专区在线视频| 成人性生交大片免费看小说| 久久久久久久久久久人体| 亚洲xxxxx| 成人黄色av网| 亚洲在线观看视频| 欧美成人午夜影院| 日韩av成人在线观看| 在线观看日韩欧美| 在线视频国产日韩| 国产成人综合久久| 久久97久久97精品免视看| 国产一区二区久久精品| 中日韩美女免费视频网址在线观看| 2019中文字幕全在线观看| 亚洲天堂网站在线观看视频| 九九久久久久99精品| 日本精品视频在线播放| 日韩美女写真福利在线观看| 色一情一乱一区二区| 久久久亚洲精品视频| 日韩在线视频中文字幕| 欧美性xxxx| 国产xxx69麻豆国语对白| 国产亚洲综合久久| 欧美日韩综合视频| 国产成人亚洲综合91| 日韩av免费在线观看| 久久久久久久久久久人体| 91av福利视频| 国产激情综合五月久久| 97香蕉超级碰碰久久免费的优势| 国产美女91呻吟求| 国产一区二区三区视频免费| 精品亚洲永久免费精品| 久久精品国亚洲| 欧美精品videosex极品1| 欧美激情综合色综合啪啪五月| 日本免费一区二区三区视频观看| 国产精品久久久久免费a∨大胸| 亚洲综合中文字幕在线| 国产精品成人va在线观看| 不卡av电影院| 久久99国产综合精品女同| 亚洲欧美精品在线| 成人黄色免费网站在线观看| 久久久久久久久久久久久久久久久久av| 亚洲国产欧美一区二区丝袜黑人| 日韩中文在线中文网三级| 日韩精品视频在线| 精品欧美aⅴ在线网站| 亚洲国产成人精品女人久久久| 一本色道久久88综合亚洲精品ⅰ| 国产欧美一区二区| 久久精品色欧美aⅴ一区二区| 国产一区二区动漫| 欧美精品九九久久| 97精品国产97久久久久久免费| 亚洲精品乱码久久久久久按摩观| 日韩电影免费观看在线| 亚洲欧美日韩综合| 国产一区二区三区在线看| 久久精品电影网| 国产精品久久不能| 4438全国亚洲精品在线观看视频| 成人中心免费视频| 国产精品91一区| 国产日韩在线视频| 欧美精品制服第一页| 久久人人爽亚洲精品天堂| 欧美高清视频在线播放| 国产精品九九九| 一区二区三区视频免费| 91性高湖久久久久久久久_久久99| 日韩精品在线影院| 亚洲午夜未删减在线观看| 亚洲品质视频自拍网| 日韩女在线观看| 欧美在线视频一二三| 亚洲曰本av电影| 国产精品久久久久久久久久久新郎| 久久久最新网址| 国产主播精品在线|