Back to Top

Quiz Time
SQL -Structured Query Language

No Short Description Present

Course Related Quiz

#Quiz
1
Discuss
SQL Syntax

Which one of the following is used to define the structure of the relation, deleting relations and relating schemas?

  • 1]

    DML(Data Manipulation Langauge)

  • 2]

    DDL(Data Definition Langauge)

  • 3]

    Query

  • 4]

    Relational Schema

Solution
10
Discuss
SQL Syntax

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

Solution
100
Discuss
Drop Table

To delete a particular column in a relation the command used is

  • 1]

    UPDATE

  • 2]

    DROP

  • 3]

    ALTER

  • 4]

    DELETE

Solution
101
Discuss
Insert Record

The granting and revoking of roles by the user may cause some confusion when that user role is revoked. To overcome the above situation

  • 1]

    By restricting the user access to the roles

  • 2]

    The privilege must be granted only by roles

  • 3]

    The privilege is granted by roles and users

  • 4]

    The user role cannot be removed once given

Solution
102
Discuss
Insert Record

Which join condition contains an equality operator:

  • 1]

    Equijoins

  • 2]

    Cartesian

  • 3]

    Natural

  • 4]

    Left

Solution
103
Discuss
Insert Record

A __________ is a special kind of a store procedure that executes in response to certain action on the table like insertion, deletion or updation of data.

  • 1]

    Procedures

  • 2]

    Triggers

  • 3]

    Functions

  • 4]

    None of the mentioned

Solution
104
Discuss
Insert Record

The CREATE TRIGGER statement is used to create the trigger. THE _____ clause specifies the table name on which the trigger is to be attached. The ______ specifies that this is an AFTER INSERT trigger.

  • 1]

    For insert, on

  • 2]

    Both a and c

  • 3]

    For, insert

  • 4]

    On, for insert

Solution
105
Discuss
Insert Record

What are the after triggers?

  • 1]

    Triggers generated after a particular operation

  • 2]

    These triggers run after an insert, update or delete on a table

  • 3]

    These triggers run after an insert, views, update, or delete on a table

  • 4]

    Both b and c

Solution
106
Discuss
Insert Record

The variables in the triggers are declared using

  • 1]

    -

  • 2]

    @

  • 3]

    /

  • 4]

    /@

Solution
107
Discuss
Select Record

The ______ clause allows us to select only those rows in the result relation of the ____ clause that satisfy a specified predicate.

  • 1]

    Where, from

  • 2]

    From, select

  • 3]

    Select, from

  • 4]

    From, where

Solution
#Quiz
Showing 1 to 10 of 256 entries