Question 96

Examine the structure of the ORDERS table: (Choose the best answer.)

You want to find the total value of all the orders for each year and issue this command:
SQL> SELECT TO_CHAR(order_date,'rr'), SUM(order_total) FROM orders
GROUP BY TO_CHAR(order_date, 'yyyy');
Which statement is true regarding the result?
  • Question 97

    In your session, the NLS._DAE_FORMAT is DD- MM- YYYY.There are 86400 seconds in a day.Examine
    this result:
    DATE
    02-JAN-2020
    Which statement returns this?
  • Question 98

    Which three statements are true? (Choose three.)
  • Question 99

    Examine the structure of the INVOICEtable.
    Name Null? Type
    - ----------------- ------------------- -------------
    INV_NO NOT NULL NUMBER(3)
    INV_DATE DATE
    INV_AMT NUMBER(10,2)
    Which two SQL statements would execute successfully?
  • Question 100

    Examine the description of the EMPLOYEEStable:

    Which two queries return rows for employees whose manager works in a different department? (Choose two.)