1z0-071 Exam Question 81

Examine the structure of the ORDERS table:

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? (Choose the best answer.)
  • 1z0-071 Exam Question 82

    View the Exhibit and examine the data in EMP and DEPT tables.

    In the DEPT table, DEPTNO is the PRIMARY KEY.
    In the EMP table, EMPNO is the PRIMARY KEY and DEPTNO is the FOREIGN KEY referencing the DEPTNO column in the DEPT table.
    What would be the outcome of the following statements executed in the given sequence?
    DROP TABLE emp;
    FLASHBACK TABLE emp TO BEFORE DROP;
    INSERT INTO emp VALUES (2, 'SCOTT', 10);
    INSERT INTO emp VALUES (3, 'KING', 55);
  • 1z0-071 Exam Question 83

    Examine these SQL statements which execute successfully:

    Which two statements are true after execution? (Choose two.)
  • 1z0-071 Exam Question 84

    View the Exhibit and examine the details of the PRODUCT_INFORMATION table. (Choose two.)

    Evaluate this SQL statement:
    SELECT TO_CHAR (list_price, '$9,999')
    From product_information;
    Which two statements are true regarding the output?
  • 1z0-071 Exam Question 85

    Examine the commands used to create DEPARTMENT_DETAILSand COURSE_DETAILS:

    You want to generate a report that shows all course IDs irrespective of whether they have corresponding department IDs or not but no department IDs if they do not have any courses.
    Which SQL statement must you use?