QuestionQ68

VerifiedRetrieving Data Using the SQL SELECT Statement

You need to generate a report in which every customer's credit limit is increased by $1000. In the output, the customer's last name must use the heading Name, and the increased credit limit must be labeled New credit Limit. The column headings must have only the first letter of each word in uppercase.

Which statement meets this requirement?

Question Image

Explanation

Oracle uses a column alias as the result-set heading. Double-quoting an alias preserves its mixed case and permits spaces, so the aliases must be exactly "Name" and "New Credit Limit." The credit-limit expression must add 1000 without applying a function that changes the customer name.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!