Create Tables


  1. Which data type character merge the “Check Constraint” into a data type definition?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    ENUM


  1. Which among the following is the correct syntax for defining “ENUM” in Mysql?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    gender ENUM (‘M’, ‘F’),



  1. Which among the following are the correct definitions for “NULL” in Mysql?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Empty set, Absence of value and Unknown are the following are the correct definitions for “NULL” in Mysql.


  1. Find out the logical error in the following query?
    CREATE TABLE Employee
    ( Emp_id VARCHAR(50),
    Emp_Name VARCHAR (50),
    Emp_Address VARCHAR (50),
    Emp_Mobile_no SMALLINT
    );











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Primary key is an essential attribute for each table declared in Mysql.



  1. What is the default value of column?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    When table is defined in Mysql then each column related to table will contain NULL Value as default.