1z1-071 Exam Question 191

View the exhibit and examine the ORDERStable.

The ORDERStable contains data and all orders have been assigned a customer ID. Which statement would add a NOTNULLconstraint to the CUSTOMER_IDcolumn?
  • 1z1-071 Exam Question 192

    View the Exhibit and examine the data in the PRODUCTStable.

    Which statement would add a column called PRICE, which cannot contain NULL?
    ALTER TABLE products
  • 1z1-071 Exam Question 193

    View the Exhibit and examine the structures of the employees and departments tables.

    You must update the employees table according to these requirements::
    -Update only those employees who work in Boston or Seattle (locations 2900 and 2700).
    -Set department_id for these employees to the department id corresponding to London (locationid 2100).
    -Set the employees' salary in iocation_id 2100 to 1.1 times the average salary of their department.
    -Set the employees' commission In location_id 2100 to 1.5 times the average commission of their department.
    You issue this command:

    What is the result?
  • 1z1-071 Exam Question 194

    View the exhibits and examine the structures of the COSTSand PROMOTIONStables.


    Evaluate the following SQL statement:

    What would be the outcome of the above SQL statement?
  • 1z1-071 Exam Question 195

    The user SCOTTwho is the owner of ORDERSand ORDER_ITEMStables issues this GRANTcommand:
    GRANT ALL
    ON orders, order_items
    TO PUBLIC;
    What must be done to fix the statement?