Create Tables


  1. What default value gets stored in columns of the table?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    NULL is the default value as it stands for “Absence of value”.


  1. In the following query, what does “person” stands for:
    INSERT INTO Student
    (id, fname, lname)
    VALUES (1,’Ajit’,’Gupta’);











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    Table name



  1. In the following query, what does “person_id” stands for?
     CREATE TABLE Student
    (id SMALLINT UNSIGNED,
    fname VARCHAR(20),
    lname VARCHAR(20) ,
    CONSTRAINT pk_Student PRIMARY KEY (Student_id));











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Primary key is also termed as a super key.


  1. Which statement can be used for modifying the definition for an existing table?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    ALTER



  1. Which feature is used for automatic increment of the column?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    AUTO_INCREMENT