Tag: databases

Questions Related to databases

  1. The statement will show the number of jobs in each department

  2. The statement will show the number of employees in each department.

  3. The statement will generate an error.

  4. The statement will work if the GROUP BY clause is removed.


Correct Option: C

Which datatype stores data outside Oracle Database?

  1. UROWID

  2. BFILE

  3. BLOB

  4. NCLOB


Correct Option: B

The DEPT table has the following data

  1. The INSERT statement is invalid; a valid table name is missing.

  2. 50 is not a valid DEPTNO value, since the subquery limits DEPTNO to 10.

  3. The statement will work without error.

  4. A subquery and a VALUES clause cannot appear together.


Correct Option: B

The current time in Dubai is 04-APR-2008 08:50:00, and the time in Dallas is 03-APR-2008 23:50:00. A user from Dubai is connected to a session in the database located on a server in Dallas. What will be the result of his query?

  1. 04?APR?2008 08:50:00

  2. 03?APR?2008 23:50:00

  3. 03?APR?2008 2324:50:00

  4. None of the above


Correct Option: B

SYS_CONTEXT can be used to know details about a session running the code?

  1. True

  2. False


Correct Option: A

Which are appropriate scheduling tools for use in EIP database?

  1. CONTROL M

  2. DBMS_JOB

  3. DBMS_SCHEDULER

  4. All


Correct Option: D
  1. DYNAMIC PARALLELISM

  2. HINTS

  3. STORED OUTLINES

  4. ALL


Correct Option: D

COMPLETE REFRESH by default will _________________all rows in an mview before inserting new rows

  1. Create

  2. Delete

  3. Append

  4. Do Nothing


Correct Option: B