Tag: databases

Questions Related to databases

In an Oracle Database, Locks are critical

  1. True

  2. False


Correct Option: B
  1. Duplicate

  2. Distinct

  3. Remove

  4. Delete


Correct Option: B
  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. 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. True

  2. False


Correct Option: B
Explanation:

To solve this question, the user needs to know what a null value is and how arithmetic expressions are evaluated.

A null value is a value that represents an absence of a value or an unknown value. In arithmetic expressions, null values can occur when a value is missing or undefined.

Now, let's go through each option and explain why it is right or wrong:

A. True: This option is incorrect. Arithmetic expressions containing a null value do not necessarily evaluate to null. The actual result depends on the specific operation being performed and the other values in the expression.

B. False: This option is correct. Arithmetic expressions containing a null value do not necessarily evaluate to null. The actual result depends on the specific operation being performed and the other values in the expression.

The Answer is: B