Question 11

Examine this statement and output:

What causes the error?
  • Question 12

    Which change will prevent negative ages to be inserted into the people table?
  • Question 13

    Your session has sqi_mode set to default.
    Examine this statement which executes successfully:

    Now examine this statement:

    Which two changes are required to the insert statement so that it inserts the correct data?
    * std_id = 10301
    * firstname = Mary
    * lastname = O'Hagen
    * birthdate = November 26, 1997
    * reg_date = the current date
  • Question 14

    Which two statements are true about AUTO_INCREMENT?
  • Question 15

    The employee table includes these columns:
    e_id INT, e_name VARCHAR (45), dept_id INT salart INT
    You must create a stored function, getMaxSalary(), which returns the maximum salary paid for a given department id.
    Which statement will create the function?
    A)

    B)

    C)

    D)