Tag: databases

Questions Related to databases

  1. INSERT

  2. UPDATE

  3. SELECT

  4. All of the above


Correct Option: D
  1. VARCHAR2

  2. RECORD

  3. BOOLEAN

  4. RAW


Correct Option: B
  1. In compiled form

  2. As source code

  3. Both A & B

  4. Not stored


Correct Option: A

If an UNIQUE KEY constraint on DATE column is created, will it accept the rows that are inserted with SYSDATE?

  1. will

  2. won't

  3. sometimes possible

  4. None of the above


Correct Option: B

Use these data for the following Questions EMPNO ENAME SAL A822 RAMASWAMY 3500 A812 NARAYAN 5000 A973 UMESH 2850 A500 BALAJI 5750 Select SAL from EMP E1 where 3 > ( Select count(*) from Emp E2 where E1.SAL > E2.SAL ) will retrieve

  1. 3500,5000,2850

  2. 5000,2850

  3. 2850,5750

  4. 5000,5750


Correct Option: A

What is a trigger?

  1. A piece of logic written in PL/SQL

  2. Executed at the arrival of a SQL event

  3. Both A & B

  4. None of the above


Correct Option: C

A Transaction ends

  1. Only when it is Committed

  2. Only when it is Rolled back

  3. When it is Committed or Rolled back

  4. None of the above


Correct Option: C
  1. scott

  2. john

  3. sys

  4. system


Correct Option: C
Explanation:

To solve this question, the user needs to know about the DUAL table in Oracle databases.

The DUAL table is a one-row, one-column table that is automatically created by Oracle. It is owned by the SYS user and is accessible to all users.

Therefore, the correct answer is:

The Answer is: C. sys