Question 296

View the exhibit and examine the data in the PROJ_TASK_DETAILS table.

The PROJ_TASK_DETAILS table stores information about project tasks and the relation between them.
The BASED_ON column indicates dependencies between tasks.
Some tasks do not depend on the completion of other tasks.
You must generate a report listing all task IDs, the task ID of any task upon which it depends and the name of the employee in charge of the task upon which it depends.
Which query would give the required result? (Choose the best answer.)
  • Question 297

    Examine the commands used to create DEPARTMENT_DETAILSand COURSE_DETAILS tables:

    You want to generate a list of all department IDs that do not exist in the COURSE_DETAILStable.
    You execute the SQL statement:

    What is the outcome?
  • Question 298

    Which two are true about constraints?
  • Question 299

    View the exhibit and examine the description of the DEPARTMENTS and EMPLOYEES tables.

    The retrieve data for all the employees for their EMPLOYEE_ID, FIRST_NAME, and DEPARTMENT NAME, the following SQL statement was written:
    SELECT employee_id, first_name, department_name
    FROM employees
    NATURAL JOIN departments;
    The desired output is not obtained after executing the above SQL statement. What could be the reason for this?
  • Question 300

    The SALES table has columns PROD_IDand QUANTITY_SOLDof data type NUMBER.
    Which two queries execute successfully? (Choose two.)