0

databases Online Quiz - 159

Description: databases Online Quiz - 159
Number of Questions: 20
Created by:
Tags: databases
Attempted 0/20 Correct 0 Score 0

A Literal is enclosed in double quotes.

  1. True

  2. False


Correct Option: B
  1. Structured Query Language

  2. Standard Query Language

  3. System Query Language

  4. Simple Query Language


Correct Option: A

Character values are case insensitive

  1. True

  2. False


Correct Option: B
  1. True

  2. False


Correct Option: B
Explanation:

To solve this question, the user needs to know the concept of null values in arithmetic expressions.

The correct answer is:

The Answer is: B

Explanation:

The statement is false. Arithmetic expressions containing a null value do not evaluate to null. In most programming languages, performing arithmetic operations with a null value will result in the entire expression evaluating to null. However, this behavior depends on the programming language and the data type being used. In some cases, arithmetic expressions with null values may result in a runtime error or undefined behavior.

Concatenation operator is

  1. +

  2. -

  3. ||

  4. *


Correct Option: C
  1. Projection

  2. Selection

  3. Join

  4. All of the above


Correct Option: D
  1. Select all columns from EMP;

  2. Select distinct columns from EMP;

  3. Select * from EMP;

  4. All of the above


Correct Option: C

A Literal is enclosed in double quotes.

  1. True

  2. False


Correct Option: B

SQL is

  1. Structured Query Language

  2. Standard Query Language

  3. System Query Language

  4. Simple Query Language


Correct Option: A
  1. Duplicate

  2. Distinct

  3. Remove

  4. Delete


Correct Option: B

The two types of subqueries are:

  1. Single-row subquery, Double-row subquery

  2. Double-row subquery, Multiple-row subquery

  3. Multiple-row subquery

  4. Single-row subquery and Multiple subquery


Correct Option: D
  1. Only one row

  2. Two rows

  3. Zero rows

  4. There is no such subquery


Correct Option: A
  1. It gives the name and marks of all the students.

  2. It does not return anything.

  3. It shows an error saying” INVALID SYNTAX ERROR”

  4. It shows an error saying” Single-row subquery returns more than one row


Correct Option: D

Which operator compares a value to every value returned by a subquery?

  1. IN

  2. OF

  3. ALL

  4. ANY


Correct Option: C

A DML statement is executed when you

  1. Add new rows to a table

  2. Modify existing rows of a table

  3. Remove existing rows from a table

  4. All of the above


Correct Option: D
  1. Insert to table tablename (….);

  2. Insert into table tablename (….);

  3. Insert into table tablename values (…..);

  4. Any one of the above


Correct Option: C
  1. Date

  2. Sysdate

  3. Current Date

  4. System Date


Correct Option: B
- Hide questions