Question 141

Examine the commands used to createDEPARTMENT_DETAILS andCOURSE_DETAILS:

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?
A)

B)

C)

D)
  • Question 142

    Which three statements are true regarding group functions? (Choose three.)
  • Question 143

    View the Exhibit and examine the structure in the EMPLOYEES tables.

    Evaluate the following SQL statement:
    SELECT employee_id, department_id
    FROM employees
    WHERE department_id= 50 ORDER BY department_id
    UNION
    SELECT employee_id, department_id
    FROM employees
    WHERE department_id=90
    UNION
    SELECT employee_id, department_id
    FROM employees
    WHERE department_id=10;
    What would be the outcome of the above SQL statement?
  • Question 144

    Which two are true about constraints?
  • Question 145

    Which statement correctly grants a system privilege?