Mysql Multiple Choice Questions

  1. Which one of the following provides the ability to query information from the database and to insert tuples into, delete tuples from, and modify tuples in the database ?
    1. DML(Data Manipulation Langauge)
    2. DDL(Data Definition Langauge)
    3. Query
    4. Relational Schema
Answer :
A
Explanation:
Added By : Prachi Gupta


  1. Create table employee (name varchar ,id integer) What type of statement is this ?
    1. DML
    2. View
    3. DDL
    4. Integrity constraint
Answer :
C
Explanation:
Added By : Prachi Gupta

  1. To remove a relation from an SQL database, we use the ______ command.
    1. Delete
    2. Purge
    3. Remove
    4. Drop table
Answer :
D
Explanation:
Added By : Prachi Gupta


  1. Insert into instructor values (10211, 'Smith', 'Biology', 66000); What type of statement is this?
    1. Query
    2. DML
    3. Relational
    4. DDL
Answer :
B
Explanation:
Added By : Prachi Gupta

  1. The term attribute refers to a ___________ of a table.
    1. Record
    2. Column
    3. Tuple
    4. Key
Answer :
B
Explanation:
Added By : Prachi Gupta

  1. The number of attributes in relation is called as its
    1. Cardinality
    2. Entity
    3. Tuples
    4. Degree
Answer :
D
Explanation:
Added By : Prachi Gupta


  1. Which of the following is used to delete an entire MYSQL database?
    1. drop entiredb dbname
    2. drop database dbname
    3. drop db dbname
    4. drop dbase dbname
Answer :
B
Explanation:
Added By : Prachi Gupta

  1. Drop Table cannot be used to drop a table referenced by a ______________ constraint.
    1. Primary Key
    2. Sub Key
    3. Super Key
    4. Foreign Key
Answer :
D
Explanation:
Added By : Rahul

Post Your Question
Social Sharing
Search