Question 11

Examine the statement which executes successfully:
SET sql_mode=' NO_ENGINE_SUBSTITTJTION' ;
You try to create a table with a storage engine that is not available. What will happen?
  • Question 12

    The meeting table stores meeting schedules with participants from five continents. The participants' details are stored in another table.

    You need to adjust the start_time and duration columns for optimal storage. What datatype changes would achieve this?
  • Question 13

    Examine these statements which execute successfully:

    Which two changes will improve this query performance?
  • Question 14

    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)
  • Question 15

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