ITPub博客

首页 > 数据库 > Oracle > Oracle Certificate Profession 1Z0-051-12

Oracle Certificate Profession 1Z0-051-12

原创 Oracle 作者:LuiseDalian 时间:2014-05-09 07:49:07 0 删除 编辑
(12)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 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;        
答案:(C)

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/17013648/viewspace-1157183/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2012-02-06

  • 博文量
    1986
  • 访问量
    6040916