0

databases Online Quiz - 192

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

select round(139.898,-2),round(188.898,-2) from dual would results in?

  1. 139.89,188.89

  2. 100,200

  3. -139.89,-188.89

  4. 140,189


Correct Option: B
  1. You obtain the results retrieved from the public synonym HR created by the DBA.

  2. You obtain the results retrieved from the HR table that belongs to you schema.

  3. You get an error message because you cannot retrieve from a table that has the same name as a public synonym.

  4. You obtain the results retrieved from both the publich synonym HR and the HR table that belongs to your schema, as a Cartesian product.


Correct Option: B

What is the result of the query "Select length(to_char(to_date(11032007,'ddmmyyyy'),'March')) from dual;" ?

  1. 3

  2. 5

  3. 9

  4. Error


Correct Option: C

The REPLACE function in SQL replaces the data in the database and displays it as output.

  1. True

  2. False


Correct Option: B
  1. #$#$sql function

  2. error

  3. #$#sql functions

  4. None of the above


Correct Option: C

The output of the query "select length('This is Ram''s book') from dual; " is

  1. 18

  2. 19

  3. 21

  4. none of the above


Correct Option: A

The output of the query " select instr('I am an expert in sql functions','n',-10,2) from dual; " is

  1. 30

  2. 7

  3. 2

  4. 10


Correct Option: B
  1. DB2 for z/OS

  2. DB2 for i5/OS

  3. DB2 Data Warehouse Edition

  4. DB2 Enterprise Server Edition


Correct Option: B
  1. Control Center

  2. Command Center

  3. Command Line Processor

  4. Task Center


Correct Option: D
- Hide questions