0

databases Online Quiz - 161

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

SQL is

  1. Structured Query Language

  2. Standard Query Language

  3. System Query Language

  4. Simple Query Language


Correct Option: A

A null is the same as zero or a blank space.

  1. True

  2. False


Correct Option: B

What is the output of the following? SELECT ROUND(1111.93412,3) FROM DUAL;

  1. 1112

  2. 1111.93

  3. 1111.93412

  4. 1111.934


Correct Option: D

What does the MOD Function do?

  1. It divides both the values and gives the quotient.

  2. It multiplies both the values and gives the product.

  3. It divides both the values and gives the remainder.

  4. There is no such function.


Correct Option: C

What does the MOD Function do?

  1. It divides both the values and gives the quotient.

  2. It multiplies both the values and gives the product.

  3. It divides both the values and gives the remainder.

  4. There is no such function.


Correct Option: C

SYSDATE is a date function that returns the current database server date and time.

  1. True

  2. False


Correct Option: B

The value returned by the subquery is used by the main query.

  1. True

  2. False


Correct Option: B

To perform wild card search “Like” is used .

  1. True

  2. False


Correct Option: B

When is a Cartesian product formed?

  1. When a join condition is omitted.

  2. When a join condition is invalid.

  3. All rows in the first table are joined to all rows in the second table.

  4. All of the above.


Correct Option: D

In a join condition it is mandatory to specify the table name along with the Column name.

  1. True

  2. False


Correct Option: B

The minimum number of join statements required to join 10 tables together are:

  1. 9

  2. 11

  3. 5

  4. 12

  5. None of the above


Correct Option: A

A Non equi-join is a join condition that does not contain an equality operator.

  1. True

  2. False


Correct Option: B

Sorting SQL statement result data by column alias is not possible.

  1. True

  2. False


Correct Option: B

What are the two types of SQL Functions?

  1. Single-row Functions and Double-row Functions

  2. One-row Functions and Two-row Functions

  3. Single-row Functions and Multiple-row Functions

  4. None of the above


Correct Option: C

Single-Row Functions can return multiple results per row.

  1. True

  2. False


Correct Option: B

Compare the output of the following: SELECT TRUNC(99.57,1) FROM DUAL; and SELECT ROUND(99.57,1) FROM DUAL;

  1. 99.57,99,6

  2. 99.5,99.6

  3. 99.6,99.6

  4. 99.57,99.57


Correct Option: B

LAST_DAY(date) finds the date of the last day of the month that contains date.

  1. True

  2. False


Correct Option: B

Which of the following WHERE clauses represent equi-join?

  1. Table1.column1=Table2.column2

  2. Table1.column1=Table2.column1

  3. Table1.column2=Table2.column1

  4. None of the above


Correct Option: B

An outer join is used to:

  1. Return records which have no direct match

  2. Return records which have direct match

  3. Return all the records

  4. None of the above


Correct Option: A

____________ is the outer join operator.

  1. (+)

  2. (-)

  3. (*)

  4. +


Correct Option: A
- Hide questions