Oracle Flashcards
SQL
Structured query language
Relational db
Uses relations or two-dimensional tables to store information
ANSI
American national standards institute
Data retrieval operator
Select
DML
Data manipulation language
DML operators
Insert
Update
Delete
Merge
DDL
Data definition language
DDL operators
Create Alter Drop Rename Truncate
Transactional control operators
Commit
Rollback
Savepoint
DCL
Data control language
DCL operators
Grant
Revoke
Suppress duplicates keyword
Distinct
Arithmetic expressions containing null evaluate to …
null
Oracle SQL concatenation operator
||
Literal value is .., … or …
character, number or date
Display strucutre of table in SQL*Plus
Desc[ribe]
‘Like’ condition wildcard for one character
_
‘Like’ condition wildcard for zero or many character
%
Rules of precedence
Arithmetic Concatenation Comparison LIKE, IS NULL, IN BETWEEN NOT AND OR
Order by default order
Ascending
Reverse order by order with
desc
Oracle functions can be
Single-row and multiple-row
Single-row functions hierarchy
Character Number Date Conversion General (nvl, nullif, case, decode)
Character functions can be
Case-manipulation and character-manipulation