Question 36

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 37

    View the Exhibit and examine the structure of the EMPLOYEES table.
    You want to display all employees and their managers having 100 as the MANAGER_ID.
    You want the output in two columns: the first column would have the LAST_NAME of the managers and the second column would have LAST_NAME of the employees.
    Which SQL statement would you execute?
  • Question 38

    Which three statements are true regarding subqueries? (Choose three.)
  • Question 39

    You must create a table EMPLOYEES in which the values in the columns EMPLOYEES_ID and LOGIN_ID must be unique and not null.
    Which two SQL statements would create the required table? (Choose two.) CREATE TABLE employees
  • Question 40

    The STORES table has a column START_DATE of data type DATE, containing the datethe row was inserted.
    You only want to display details of rows where START_DATEis within the last 25 months.which WHERE clause can be used?