SQL and Oracle Database Fundamentals

Test your knowledge of SQL queries, Oracle database concepts, Grid computing, indexes, and data types

13 Questions Published

Questions

Question 1 Multiple Choice (Multiple Answers)

What are the disadvantages of SQL ?

  1. Cannot drop a field
  2. Cannot rename a field
  3. Cannot manage memory
  4. Index on view or index on index not provided
  5. View updation problem
Question 2 Multiple Choice (Single Answer)

What is the result of the following SQL: Select 1 from dual UNION Select 'A' from dual;

  1. Error
  2. 1 & A are retreived
  3. 1 is retreived
  4. A is retreived
Question 3 True/False

Index can be created on view?

  1. True
  2. False
Question 4 Multiple Choice (Single Answer)

What's the length of SQL integer ?

  1. 32 bit
  2. 64 bit
  3. 18 bit
  4. None of the above
Question 5 Multiple Choice (Multiple Answers)

What languages can run within the oracle database?

  1. Java
  2. Any other language linked to the OCI libraries
  3. SQL
  4. C
  5. PL/SQL
  6. All the above expect Option 2
Question 6 True/False

Dual table can be deleted, dropped or altered or updated or inserted ?

  1. True
  2. False
Question 7 Multiple Choice (Multiple Answers)

For which relational operators in where clause, index is not used ?

  1. <>
  2. like '%...' is NOT functions
  3. field +constant
  4. field||''
  5. AND
Question 8 True/False

Oracle is the sole proprietor of grid concept

  1. True
  2. False
Question 9 True/False

The SQL application developer need not know how the Grid has been implemented

  1. True
  2. False
Question 10 Multiple Choice (Single Answer)

At the physical level, some ------------- and ------------ are providing Grid-like capabilities.

  1. Network Layer, Transport Layer
  2. Operating system, Hardware Vendors
  3. Developer, DBA
  4. Program Design, Oracle Server
Question 11 True/False

Grid will take care of making sure that at any moment pools of application servers and instances sized appropriately for the current workload are available?

  1. True
  2. False
Question 12 Multiple Choice (Multiple Answers)

Which of the following queries are correct to delete duplicate records in a table?

  1. SELECT * FROM table a WHERE ROWID < (SELECT MAX(ROWID) FROM table b WHERE a.col1 = b.col1);
  2. SELECT * FROM table a WHERE ROWID <= (SELECT MAX(ROWID) FROM table b WHERE a.col1 = b.col1);
  3. SELECT * FROM table a WHERE ROWID > (SELECT MIN(ROWID) FROM table b WHERE a.col1 = b.col1);
  4. SELECT * FROM table a WHERE ROWID >= (SELECT MIN(ROWID) FROM table b WHERE a.col1 = b.col1);
Question 13 True/False

Is it possible to add new column in the existing table at our desired location?

  1. True
  2. False