1z0-071 Exam Question 6

View the exhibits and examine the structures of the COSTSand PROMOTIONStables.


Evaluate the following SQL statement:

What would be the outcome of the above SQL statement?
  • 1z0-071 Exam Question 7

    Examine these statements and results:
    SQL> SELECT COUNT(*) FROM emp
    COUNT(*)
    ---------------------
    14
    sQL> CREATE GLOBAL TEMPORARY TABLE t emp As SELECT * FROM emp;
    Table created
    SQL> INSERT INTo temp SELECT * FROM emp;
    14 rows created
    SQL> COMMIT:
    Commit complete*
    SQL> INSERT INTo temp SELECT * EROM emp;
    14. rows created
    SQL> SELECT COUNT(*) FROM t emp
    How many rows are retrieved by the last query?
  • 1z0-071 Exam Question 8

    View the Exhibit and examine the structure of the SALES table.

    The following query is written to retrieve all those product IDs from the SALEStable that have more than
    55000 sold and have been ordered more than 10 items.

    Which statement is true regarding this SQL statement?
  • 1z0-071 Exam Question 9

    View the exhibit and examine the structures of the EMPLOYEESand DEPARTMENTStables.

    You want to update EMPLOYEEStable as follows:
    Update only those employees who work in Boston or Seattle (locations 2900 and 2700).

    Set department_idfor these employees to the department_idcorresponding to London

    (location_id 2100).
    Set the employees' salary in location_id2100 to 1.1 times the average salary of their department.

    Set the employees' commission in location_id2100 to 1.5 times the average commission of their

    department.
    You issue the following command:

    What is outcome?
  • 1z0-071 Exam Question 10

    Examine the data in the ORD_ITEMS table:

    Evaluate this query:

    Which statement is true regarding the result?