欢迎来到PP题库网 PP题库官网
logo
全部科目 > Oracle认证考试 > 1Z0-007

单项选择题

Evaluate this SQL statement:
SELECT ename, sal, 12* sal+100 FROM emp;
The SAL column stores the monthly salary of the employee. Which change must be made to the above syntax to calculate the annual compensation as "monthly salary plus a monthly bonus of $100, multiplied by 12"?()

    A. No change is required to achieve the desired results.
    B. SELECT ename, sal, 12* (sal+100) FROM emp;
    C. SELECT ename, sal, (12* sal)+100 FROM emp;
    D. SELECT ename, sal +100,*12 FROM emp;

点击查看答案

相关考题

  • 单项选择题
    Which statement adds a constraint that ensures the CUSTOMER_NAME column of the CUSTOMERS table holds a value?()

    A. ALTER TABLE customers ADD CONSTRAINT cust_name_nn CHECK customer_name IS NOT NULL;
    B. ALTER TABLE customers MODIFY CONSTRAINT cust_name_nn CHECK customer_name IS NOT NULL;
    C. ALTER TABLE customers MODIFY customer_name CONSTRAINT cust_name_nn NOT NULL;
    D. ALTER TABLE customers MODIFY customer_name CONSTRAINT cust_name_nn IS NOT NULL;
    E. ALTER TABLE customers MODIFY name CONSTRAINT cust_name_nn NOT NULL;
    F. ALTER TABLE customers ADD CONSTRAINT cust_name_nn CHECK customer_name NOT NULL;

  • 多项选择题
    Which two statements are true regarding the ORDER BY clause?()

    A. The sort is in ascending by order by default.
    B. The sort is in descending order by default.
    C. The ORDER BY clause must precede the WHERE clause.
    D. The ORDER BY clause is executed on the client side.
    E. The ORDER BY clause comes last in the SELECT statement.
    F. The ORDER BY clause is executed first in the query execution.

  • 多项选择题
    Which two tasks can your perform by using the TO_CHAR function?()

    A. Convert 10 to ‘TEN’
    B. Convert ‘10’ to 10
    C. Convert ‘10’ to ‘10’
    D. Convert ‘TEN’ to 10
    E. Convert a date to a character expression
    F. Convert a character expression to a date

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题