Quiz Discussion

Which of the following is correct

Course Name: SQL -Structured Query Language

  • 1]

    a SQL query automatically eliminates duplicates

  • 2]

    SQL permits attribute names to be repeated in the same relation

  • 3]

    a SQL query will not work if there are no indexes on the relations

  • 4]

    None of these

Solution
No Solution Present Yet

Top 5 Similar Quiz - Based On AI&ML

Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api

# Quiz
1
Discuss

What is an advantage of placing computations in SQL views

  • 1]

    To save users from having to write an expression

  • 2]

    To ensure that the results are consistent

  • 3]

    To accomplish both of the above

  • 4]

    None of the above

Solution
2
Discuss

A reason for using an SQL view to hide columns is

  • 1]

    to simplify a result only

  • 2]

    to prevent the display of sensitive data only

  • 3]

    to accomplish both of the above

  • 4]

    None of the above

Solution
3
Discuss

Which of the following is a comparison operator in SQL?

  • 1]

    =

  • 2]

    LIKE

  • 3]

    BETWEEN

  • 4]

    All of the above

Solution
4
Discuss

What SQL structure is used to limit column values of a table?

  • 1]

    The LIMIT constraint

  • 2]

    The CHECK constraint

  • 3]

    The VALUE constraint

  • 4]

    None of the above

Solution
5
Discuss

Views constructed from SQL SELECT statements that conform to the SQL-92 standard may not contain

  • 1]

    GROUP BY

  • 2]

    WHERE

  • 3]

    ORDER BY

  • 4]

    FROM

Solution
6
Discuss

‘AS’ clause is used in SQL for

  • 1]

    Selection operation

  • 2]

    Rename operation

  • 3]

    Join operation

  • 4]

    Projection operation

Solution
7
Discuss

Count function in SQL returns the number of

  • 1]

    Values

  • 2]

    Distinct values

  • 3]

    Groups

  • 4]

    Columns

Solution
8
Discuss

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

  • 1]

    UPDATE

  • 2]

    DROP

  • 3]

    ALTER

  • 4]

    DELETE

Solution
9
Discuss

Which of the following is an SQL trigger supported by Oracle?

  • 1]

    BEFORE

  • 2]

    AFTER

  • 3]

    INSTEAD OF

  • 4]

    All of the above

Solution
10
Discuss

Which of the following is an advantage of view?

  • 1]

    Data security

  • 2]

    Derived columns

  • 3]

    Hiding of complex queries

  • 4]

    All of the above

Solution
# Quiz