Oracle Database and SQL Fundamentals

Covers SQL commands, data types, functions, indexes, normalization, and PL/SQL programming concepts for Oracle databases.

19 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is the Output ?

  1. Returns current date
  2. Generate the access plan
  3. Suggests performance hints that can be implemented
  4. Drop and create the stored procedure
Question 2 Multiple Choice (Single Answer)

The table rows and column are also known as?

  1. Attributes and Fields
  2. Fields and Records
  3. Records and Fields
  4. Fields and Attributes
Question 3 Multiple Choice (Single Answer)

Which of the following SQL functions can operate on any datatype?

  1. TO_CHAR
  2. TO_DATE
  3. MAX
  4. LPAD
Question 4 Multiple Choice (Single Answer)

Normalization is…?

  1. A special way of selecting data
  2. The process of adding primary key to a table
  3. The process of arranging information stored in a database in a way, which removes redundancy and ambiguity.
  4. A special way of retrieving data
Question 5 Multiple Choice (Single Answer)

which is also known as n-dimensional cross-tabulation ?

  1. Rollback
  2. Rollup
  3. CUBE
  4. Commit
Question 6 Multiple Choice (Single Answer)

Retrieving data end with "abc" which wildcard use with like keyword?

  1. abc%
  2. %abc_
  3. %abc
  4. %abc%
Question 7 Multiple Choice (Single Answer)

which is also known as "n dimensional cross tabulation"?

  1. Rollup
  2. Rollback
  3. CUBE
  4. Commit
Question 8 Multiple Choice (Single Answer)

which commands is combination of unions ?

  1. Rollup
  2. Rollback
  3. CUBE
  4. I and III both
Question 9 Multiple Choice (Single Answer)

On which data type indexes can not be created.

  1. NUMBER
  2. LONG
  3. VARCHAR2
  4. RAW
Question 10 Multiple Choice (Single Answer)

what are the minimum values that can be assigned to POSITIVE , NATURAL and SIGNTYPE data types respectively.

  1. 1 , 1 and 1
  2. 0 , 1 and 0
  3. 1 , 0 and -1
  4. 0 , 0 and -1
Question 11 Multiple Choice (Single Answer)

which of the following is TRUE.

  1. NUMBER is the subtype of INTEGER data type
  2. PLS_INTEGER is the subtype of BINARY_INTEGER
  3. POSITIVE data type is defined in SYS package.
  4. None of the above.
Question 12 Multiple Choice (Single Answer)

which of the following is TRUE about collections.

  1. Only nested tables need initilization.
  2. Index-by tables is a persistent collection
  3. nested tables are known as associative arrays.
  4. VARRAYs hold fixed number of elements
Question 13 Multiple Choice (Single Answer)

Which of the following is not a subtype of NUMBER data type.

  1. NATURAL
  2. NATURALN
  3. POSITIVE
  4. SIGNTYPE
Question 14 Multiple Choice (Multiple Answers)

Select the correct pseudocolumns

  1. CURRVAL
  2. LEVEL
  3. ROWNUM
  4. COUNT
Question 15 True/False

Can the ORDER BY clause use column index of the select clause to sort the fetched records.

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

Choose the functions that can be used with NULL values

  1. NVL
  2. NULLIF
  3. DECODE
  4. COALESCE
Question 17 Multiple Choice (Single Answer)

Which clause use CASCADE CONSTRAINTS in the syntax?

  1. ALTER TABLE DROP COLUMN
  2. ALTER TABLE DROP CONSTRAINT
  3. ALTER TABLE DISABLE CONSTRAINT
  4. -
Question 18 Multiple Choice (Multiple Answers)

Choose the database objects

  1. TABLE
  2. VARCHAR2
  3. SEQUENCE
  4. INDEX
Question 19 Multiple Choice (Single Answer)

Which command will cause an automatic commit to occur?

  1. CONNECT
  2. RENAME
  3. INSERT
  4. DELETE