Question 1

Examine the commands used to create DEPARTMENT_DETAILS and
COURSE_DETAILS tables:
You want to generate a list of all department IDs that do not exist in the COURSE_DETAILS table.
You execute the SQL statement:
What is the outcome?
  • Question 2

    Evaluate the following SQL statement:
    SQL> select cust_id, cust_last_name "Last name"
    FROM customers
    WHERE country_id = 10
    UNION
    SELECT cust_id CUST_NO, cust_last_name
    FROM customers
    WHERE country_id = 30
    Identify three ORDER BY clauses either one of which can complete the query. (Choose three.)
  • Question 3

    View the exhibit and examine the descriptions of the DEPTand LOCATIONStables.

    You want to update the CITYcolumn of the DEPTtable for all the rows with the corresponding value in the CITYcolumn of the LOCATIONStable for each department.
    Which SQL statement would you execute to accomplish the task?
  • Question 4

    Examine the description of the EMPLOYEEStable:

    Which query is valid?
  • Question 5

    Which three are true about granting object privileges on tables, views, and sequences?