Question 101

Examine the commands used to create DEPARTMENT_DETAILS and COURSE_DETAILS tables:

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?
  • Question 102

    View the Exhibit and examine the structure of the EMPLOYEES and JOB_HISTORY tables.

    Examine this query which must select the employee IDs of all the employees who have held the job SA_MAN at any time during their employment.
    SELECT EMPLOYEE_ID
    FROM EMPLOYEES
    WHERE JOB_ID = 'SA_MAN'
    -------------------------------------
    SELECT EMPLOYEE_ID
    FROM JOB_HISTORY
    WHERE JOB_ID = 'SA_MAN';
    Choose two correct SET operators which would cause the query to return the desired result.
  • Question 103

    Which statement is true about aggregate functions?
  • Question 104

    Examine the description of the PRODUCT_INFORMATION table:
  • Question 105

    Evaluate the following statement.

    Which statement is true regarding the evaluation of rows returned by the subquery in the INSERT statement?