This SQL & PL\/SQL quiz assesses knowledge on block-structured language specifics, executable sections, table security through views, handling of null values, DCL statements, and efficient data retrieval methods. It's tailored for learners aiming to enhance their database management skills.
DDL
DML
DCL
None of the above
Rate this question:
Declarative
Executable
Exeption handling
Rate this question:
NULL
0
Results in a compilation error
An exception will be raised
Rate this question:
Cursor CAPITALS is
Select CITY, STATE
Into my_city, my_state
From CITIES
Where CAPITAL = 'Y';
Rate this question:
TRUE
FALSE
Undefined
NULL
Rate this question:
Schema
Index
Views
Segments
Rate this question:
Column
1966_Invoices
Catch_#22
#Invoices
Rate this question:
Object oriented
Block structured
Object structured
All the above
Rate this question:
Declaration section
Command line
Executable section
Cannot assign at all
Rate this question:
True
False
Rate this question:
TO_CHAR
LOWER
LPAD
CEIL
Rate this question:
Primary key access
Access via unique index
Table access by ROWID
Full table scan
Rate this question:
When a SELECT statement returns no rows
When a SELECT statement returns more than one row
When the datatypes of SELECT clause and INTO clause do not match
When INTO statement is missing in the SELECT statement
Rate this question:
SELECT * FROM Persons WHERE LastName BETWEEN 'Hansen' AND 'Pettersen'
SELECT LastName>'Hansen' AND LastName'Hansen' AND LastName'Hansen' AND LastName'Hansen' AND LastName
SELECT * FROM Persons WHERE LastName>'Hansen' AND LastName
Rate this question:
Create or replace function vat (vat_rate IN NUMBER, price IN NUMBER)
Declare
L_vat NUMBER;
Begin
L_vat := (vat_rate/100) * price; return l_vat;
End;
Rate this question:
Quiz Review Timeline (Updated): Mar 21, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.