Oracle Database and SQL Fundamentals
Covers SQL commands, data types, functions, indexes, normalization, and PL/SQL programming concepts for Oracle databases.
Questions
What is the Output ?
- Returns current date
- Generate the access plan
- Suggests performance hints that can be implemented
- Drop and create the stored procedure
The table rows and column are also known as?
- Attributes and Fields
- Fields and Records
- Records and Fields
- Fields and Attributes
Which of the following SQL functions can operate on any datatype?
- TO_CHAR
- TO_DATE
- MAX
- LPAD
Normalization is…?
- A special way of selecting data
- The process of adding primary key to a table
- The process of arranging information stored in a database in a way, which removes redundancy and ambiguity.
- A special way of retrieving data
which is also known as n-dimensional cross-tabulation ?
- Rollback
- Rollup
- CUBE
- Commit
Retrieving data end with "abc" which wildcard use with like keyword?
- abc%
- %abc_
- %abc
- %abc%
which is also known as "n dimensional cross tabulation"?
- Rollup
- Rollback
- CUBE
- Commit
which commands is combination of unions ?
- Rollup
- Rollback
- CUBE
- I and III both
On which data type indexes can not be created.
- NUMBER
- LONG
- VARCHAR2
- RAW
what are the minimum values that can be assigned to POSITIVE , NATURAL and SIGNTYPE data types respectively.
- 1 , 1 and 1
- 0 , 1 and 0
- 1 , 0 and -1
- 0 , 0 and -1
which of the following is TRUE.
- NUMBER is the subtype of INTEGER data type
- PLS_INTEGER is the subtype of BINARY_INTEGER
- POSITIVE data type is defined in SYS package.
- None of the above.
which of the following is TRUE about collections.
- Only nested tables need initilization.
- Index-by tables is a persistent collection
- nested tables are known as associative arrays.
- VARRAYs hold fixed number of elements
Which of the following is not a subtype of NUMBER data type.
- NATURAL
- NATURALN
- POSITIVE
- SIGNTYPE
Select the correct pseudocolumns
- CURRVAL
- LEVEL
- ROWNUM
- COUNT
Can the ORDER BY clause use column index of the select clause to sort the fetched records.
- True
- False
Choose the functions that can be used with NULL values
- NVL
- NULLIF
- DECODE
- COALESCE
Which clause use CASCADE CONSTRAINTS in the syntax?
- ALTER TABLE DROP COLUMN
- ALTER TABLE DROP CONSTRAINT
- ALTER TABLE DISABLE CONSTRAINT
- -
Choose the database objects
- TABLE
- VARCHAR2
- SEQUENCE
- INDEX
Which command will cause an automatic commit to occur?
- CONNECT
- RENAME
- INSERT
- DELETE