OCP 12c最新考试原题及答案(071-8)

8、(5-4) choose the best answer:
You need to produce a report where each customer's credit limit has been incremented by $1000.
In the output, the 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 AS Name, cust_credit_limit + 1000
as New Credit Limit
FROM customers;

B) SELECT cust_last_name Name, cust_credit_limit + 1000
"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

猜你喜欢

转载自www.cnblogs.com/cnblogs5359/p/10373449.html
0条评论
添加一条新回复