Tag: databases

Questions Related to databases

  1. The column is populated by sequence

  2. The column contains many different values

  3. The column is mainly used for value range scans

  4. The columns implementing an inverted list attribute.


Correct Option: A
  1. Small table rarely retrieved with a full table scan

  2. Large table rarely retrieved with a full table scan

  3. Small table frequently retrieved with a full table scan

  4. Large table frequently retrieved with a full table scan


Correct Option: C
  1. UTL_FILE_DIR

  2. USER_DUMP_DEST

  3. LOG_ARCHIVE_DEST

  4. BACKGROUND_DUMP_DEST


Correct Option: D
  1. MANAGER must be a role.

  2. It allows the MANAGER to pass the specified privileges on to other users.

  3. It allows the MANAGER to create tables that refer to the STUDENT_GRADES table.

  4. It allows the MANAGER to apply all DML statements on the STUDENT_GRADES table.

  5. It allows the MANAGER the ability to select from, insert into, and update the STUDENT_GRADES table.

  6. It allows the MANAGER the ability to select from, delete from, and update the STUDENT_GRADES table.


Correct Option: B,E

Which best describes an inline view?

  1. A Schema Object

  2. A subquery that can contain an ORDER BY clause

  3. Another name for a view that contains group functions

  4. A subquery that is part of the FROM clause of another query


Correct Option: D
  1. A MERGE statement is used to merge the data of one table with data from another.

  2. A MERGE statement replaces the data of one table with that of another.

  3. A MERGE statement can be used to insert new rows into a table.

  4. A MERGE statement can be used to update existing rows in a table.


Correct Option: A,B,C
  1. String

  2. Character

  3. Integer

  4. Date

  5. Numeric

  6. Conversion


Correct Option: B,D,E,F
  1. a. View is a named SQL query stored in data dictionary

  2. b. View is a database object which stores data

  3. c. View is used for data hiding

  4. d. Views doesn’t occupy memory


Correct Option: A,C,D