0

databases Online Quiz - 225

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

How many join conditions should be there to avoid a Cartesian Join for joining three tables?

  1. 1

  2. 2

  3. 3

  4. None of the above


Correct Option: B
  1. TRUNC=To_Date('09-Jan-02,DD-MON-YY,'YEAR',"Date" from Dual;

  2. Select TRUNC(To_Date('09-Jan-02,DD-MON-YY,YEAR')) "DATE" from Dual;

  3. Date =TRUNC(To_DATE('09-Jan-02','DD-MON-YY'),'YEAR'),'YEAR)"DATE: from DUAL;

  4. SELECT TRUNC(TO_DATE('12-Feb-99','DD-MON-YY'), 'YEAR') "Date " FROM DUAL;


Correct Option: D

How many join conditions should be there to avoid a Cartesian Join for joining three tables?

  1. 1

  2. 2

  3. 3

  4. None of those


Correct Option: B
  1. SELECT SUBSTR ('HelloWorld',1) FROM dual;

  2. SELECT LOWER (SUBSTR ('HellowWorld', 2,1) FROM dual;

  3. SELECT INITCAP(TRIM('HellowWorld', 1,1) FROM dual;

  4. SELECT LOWER (TRIM ('H' FROM 'Hello World')) FROM dual;


Correct Option: D
  1. Immediately after the SELECT clause

  2. Before the WHERE clause

  3. After the ORDER BY clause

  4. After the WHERE clause


Correct Option: D
  1. restrict data access

  2. easy maintainance of complex queries

  3. fast access

  4. data independence


Correct Option: C

When 'select * from ' is given, oracle server checks for..

  1. control files

  2. redo log files

  3. user_views data dictionary view

  4. base table


Correct Option: C

data type of 'text' column stored in user_view column...

  1. varchar2()

  2. long

  3. char()

  4. lob()


Correct Option: B

which one is not the view feature..?

  1. restrict data access

  2. fast access

  3. easy maintainance for complex queries

  4. data independence


Correct Option: B
  1. inline view is a schema object

  2. is a subquery used in where clause

  3. inline view can't have group functions

  4. none of the above


Correct Option: D
  1. 999

  2. 1000

  3. 1001

  4. limit is only for tables....


Correct Option: B
  1. drop the view and create a new one

  2. use CREATE OR REPLACE syntax

  3. use ALTER VIEW syntax

  4. use UPDATE sytax


Correct Option: B

In NPS, you can ALTER DATABASE while other people are accessing the same database

  1. No

  2. Yes

  3. 1

  4. 0


Correct Option: A
- Hide questions