Question 141

Examine the description of the EMP_DETAILS table given below:

Which two statements are true regarding SQL statements that can be executed on the EMP_DETAIL TABLE?
  • Question 142

    View the Exhibit and examine the data in EMPand DEPTtables.

    In the DEPTtable, DEPTNOis the PRIMARY KEY.
    In the EMPtable, EMPNOis the PRIMARY KEYand DEPTNOis the FOREIGN KEYreferencing the DEPTNO column in the DEPTtable.
    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);
  • Question 143

    View the exhibit and examine the structure of the EMPLOYEES table.

    You want to select all employees having 100 as their MANAGER_ID manages and their manager.
    You want the output in two columns: the first column should have the employee's manager's LAST_NAME and the second column should have the employee's LAST_NAME.
    Which SQL statement would you execute?
  • Question 144

    SCOTTis a user in the database.
    Evaluate the commands issued by the DBA:

    Which statement is true regarding the execution of the above commands?
  • Question 145

    Examine the description of the PROMOTIONStable:

    You want to display the unique promotion costs in each promotion category.
    Which two queries can be used? (Choose two.)
    SELECT DISTINCT promo_category || ' has ' || promo_cost AS COSTS FROM