Database Fundamentals and SQL Quiz
Comprehensive quiz covering database concepts including SQL operations, PL/SQL programming, database record types, schema design, and DMS fundamentals
Questions
what does SQL Lack
- The complexity and size of the SQL standard means that most databases DO NOT implement the entire standard.
- The simplicity and size of the SQL standard means that most databases DO implement the entire standard.
- The simplicity and size of the SQL standard means that most databases DO NOT implement the entire standard.
- The complexity and size of the SQL standard means that most databases DO implement the entire standard.
Schema describes the Database?
- Logically
- Physically
- Both of the above
- None of the above
Schema consists of - sections?
- 2
- 4
- 6
- 8
Database Key is a combination of
- Record Number
- Page Number
- Area Name
- Page Name
- Area Code
- Record Name
How many record types are there in DMS
- 1
- 2
- 4
- 6
Which of the following record type is the fastest
- Via Set
- Direct
- Calc
- Index Sequential
How many areas are associted with an Index Sequential Record
- 1
- 2
- 3
- 4
Index Sequential Records can be stored in the same area as being used by Calc Records
- True
- False
Calc Key of Calc Records is similar to ----- of RDBMS
- Primary Key
- Alternate Key
- Foreign Key
- None
Set defines a ------ relationship between record types
- Physical
- Logical
- Both
- None
In a set ORDER is defined as LAST. When we insert a new member record occurence, this record will become.
- last member of the set
- first member of the set
- will be inserted after the current location in the set
- will be inserted before the current location in the set
In a set ORDER is defined as FIRST. When we insert a new member record occurence, this record will become.
- last member of the set
- first member of the set
- will be inserted after the current member in the set
- will be inserted before the current member in the set
In a set ORDER is defined as NEXT. When we insert a new member record occurence, this record will become.
- last member of the set
- first member of the set
- will be inserted after the current member in the set
- will be inserted before the current member in the set
In a set ORDER is defined as PRIOR. When we insert a new member record occurence, this record will become.
- last member of the set
- first member of the set
- will be inserted after the current member in the set
- will be inserted before the current member in the set
A Transaction ends
- Only when it is Committed
- Only when it is Rolled back
- When it is Committed or Rolled back
- None of the above
What is the Result of the following 'AXA'||NULL||'US' ?
- Error
- NULL
- AXA US
- AXAUS
Use these data for the following Questions EMPNO ENAME SAL E100 John 3250 E200 Praveen 2000 E300 Mahesh E400 Prasanth 5500 E500 Vikram 6650 Select count (sal) from Emp will retrieve
- 1
- 0
- 3
- 4
- None of the above
The Data Manipulation Language statements are
- INSERT
- UPDATE
- SELECT
- All of the above
Declare a number := 5; b number := null; c number := 10; Begin if a > b AND a < c then a := c * a; end if; End; What will be the value of 'a' after execution?
- 50
- NULL
- 5
- None of the above
Find the ODD Datatype out
- VARCHAR2
- RECORD
- BOOLEAN
- RAW