alternative
  • Home (current)
  • About
  • Tutorial
    Technologies
    C#
    Deep Learning
    Statistics for AIML
    Natural Language Processing
    Machine Learning
    SQL -Structured Query Language
    Python
    Ethical Hacking
    Placement Preparation
    Quantitative Aptitude
    View All Tutorial
  • Quiz
    C#
    SQL -Structured Query Language
    Quantitative Aptitude
    Java
    View All Quiz Course
  • Q & A
    C#
    Quantitative Aptitude
    Java
    View All Q & A course
  • Programs
  • Articles
    Identity And Access Management
    Artificial Intelligence & Machine Learning Project
    How to publish your local website on github pages with a custom domain name?
    How to download and install Xampp on Window Operating System ?
    How To Download And Install MySql Workbench
    How to install Pycharm ?
    How to install Python ?
    How to download and install Visual Studio IDE taking an example of C# (C Sharp)
    View All Post
  • Tools
    Program Compiler
    Sql Compiler
    Replace Multiple Text
    Meta Data From Multiple Url
  • Contact
  • User
    Login
    Register

SQL -Structured Query Language - Sql Clause - And Operator Quiz

# Quiz
1
Discuss
And Operator

The union operation is represented by

  • 1]

    ∩

  • 2]

    U

  • 3]

    -

  • 4]

    *

Solution
2
Discuss
And Operator

The intersection operator is used to get the _____ tuples.

  • 1]

    Different

  • 2]

    Common

  • 3]

    All

  • 4]

    Repeating

Solution
3
Discuss
And Operator

The union operation automatically __________ unlike the select clause.

  • 1]

    Adds tuples

  • 2]

    Eliminates unique tuples

  • 3]

    Adds common tuples

  • 4]

    Eliminates duplicate

Solution
4
Discuss
And Operator

If we want to retain all duplicates, we must write ________ in place of union.

  • 1]

    Union all

  • 2]

    Union some

  • 3]

    Intersect all

  • 4]

    Intersect some

Solution
5
Discuss
And Operator
(SELECT course id
FROM SECTION
WHERE semester = ’Fall’ AND YEAR= 2009)
EXCEPT
(SELECT course id
FROM SECTION
WHERE semester = ’Spring’ AND YEAR= 2010);

This query display

  • 1]

    Only tuples from second part

  • 2]

    Only tuples from the first part which has the tuples from second part

  • 3]

    Tuples from both the parts

  • 4]

    Tuples from first part which do not have second part

Solution
6
Discuss
And Operator

For like predicate which of the following is true.

i) % matches zero OF more characters.
ii) _ matches exactly one CHARACTER.

 

  • 1]

    i-only

  • 2]

    ii-only

  • 3]

    i & ii

  • 4]

    None of the mentioned

Solution
7
Discuss
And Operator

The number of attributes in relation is called as its

  • 1]

    Cardinality

  • 2]

    Degree

  • 3]

    Tuples

  • 4]

    Entity

Solution
8
Discuss
And Operator

_____ clause is an additional filter that is applied to the result.

  • 1]

    Select

  • 2]

    Group-by

  • 3]

    Having

  • 4]

    Order by

Solution
9
Discuss
And Operator

_________ joins are SQL server default

  • 1]

    Outer

  • 2]

    Inner

  • 3]

    Equi

  • 4]

    None of the mentioned

Solution
10
Discuss
And Operator

The _____________ is essentially used to search for patterns in target string.

  • 1]

    Like Predicate

  • 2]

    Null Predicate

  • 3]

    In Predicate

  • 4]

    Out Predicate

Solution
# Quiz
SQL -Structured Query Language

SQL -Structured Query Language

  • Introduction
  • Overview
    • How To Download And Install MySql Workbench
    • SQL Syntax
  • SQL Database
    • Create Database
    • Drop Database
    • Use / Select Database
  • SQL Table
    • Create Table
    • Alter - Rename Table
    • Alter - Add Column
    • Alter - Modify Column
    • Alter - Rename Column
    • Alter - Drop Column
    • Copy Table
    • Drop Table
  • SQL Insert
    • Insert Record
  • Sql Update
    • Update Record
  • Sql Select
    • Select Record
    • Select - Count
    • Select - Average
    • Select - Sum
    • Select - Min Max
    • Select - Distinct
    • Select - Limit
    • Select - First
    • Select - Last
  • Sql Clause
    • Like Clause
    • And Operator
    • Or Operator
    • Between & Not Between Operator
    • As or Alias
    • In Clause
    • Group By Clause
    • Having Clause
  • Sql Order By
    • Ascending
    • Descending
    • Random
    • Ascending Descending Multiple Column
  • SQL Joins
    • Joins and its type
    • Inner Join
    • Left Join
    • Right Join
    • Full Join
    • Cross Join
  • SQL View
    • Create View
    • Update View
    • Delete View
  • SQL Delete
    • Delete Table
    • Truncate Table
  • Sql Key & Constraint
    • Primary Key
    • Foreign Key
    • Unique Key
    • Not Null Constraint
    • Check Constraint
    • Default Constraint
  • Normalization
    • Overview
    • 1 NF
    • 2 NF
    • 3 NF
    • Boyce Codd normal form ( BCNF )

About Fresherbell

Best learning portal that provides you great learning experience of various technologies with modern compilation tools and technique

Important Links

Don't hesitate to give us a call or send us a contact form message

Terms & Conditions
Privacy Policy
Contact Us

Social Media

© Untitled. All rights reserved. Demo Images: Unsplash. Design: HTML5 UP.