1z0-071 Exam Question 96

Examine the commands used to create the DEPARTMENT_DETAILS and the COURSE- DETAILS tables:
SQL> CREATE TABLE DEPARTMfiNT_DeTAILS
DEPARTMENT_ID NUMBER PRIMARY KEY ,
DEPARTMEHT_NAME VARCHAR2(50) ,
HOD VARCHAP2(50));
SQL> CREATE TABLE COURSE-DETAILS
(COURSE ID NUMBER PRIMARY KEY ,
COURS_NAME VARCHAR2 (50) ,
DEPARTMEHT_ID NUMBER REFERENCES DEPARTMENT_DETAIL
You want to generate a list of all department IDs along with any course IDs that may have been assigned to them.
Which SQL statement must you use?
  • 1z0-071 Exam Question 97

    You issued the following command:
    SQL> DROP TABLE employees;
    Which three statements are true? (Choose three.)
  • 1z0-071 Exam Question 98

    View the exhibit and examine the descriptions of the DEPT and LOCATIONS tables.

    You want to update the CITY column of the DEPT table for all the rows with the corresponding value in the CITY column of the LOCATIONS table for each department.
    Which SQL statement would you execute to accomplish the task?
  • 1z0-071 Exam Question 99

    View the exhibit and examine the data in the PROJ_TASK_DETAILS table. (Choose the best answer.)

    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?
  • 1z0-071 Exam Question 100

    Which two statements are true about Data Manipulation Language (DML) statements? (Choose two.)