Professional Documents
Culture Documents
DATABASE
SYSTEMS
[CC6001]
Week 01 Week 1
Your journey at Islington College?
Level 4
Introduction to Information Systems
Level 5
Databases
Level 6
Level6 Module
30 Credit Hours Consists of 3 Parts
◼ Theoretical aspects of Database
◼ Practical approach using SQL
◼ Database Design Environment
Delivery Methods
Lecture
Concepts and General
Understanding
Workshop
Practical Implementation
Assessment
Historical Developments
Projection Selection
Table 1 Table 1
Join
Table 1 Table 2
Copyright © Oracle Corporation, 2001. All rightsreserved. 1-3
Basic SELECT Statement
SELECT *
FROM departments;
Operator Description
+ Add
- Subtract
* Multiply
/ Divide
_
* / +
• Multiplication and division take priority over
addition and subtraction.
• Operators of the same priority are evaluated from
left to right.
• Parentheses are used to force prioritized
evaluation and to clarify statements.
A column alias:
• Renames a column heading
• Is useful with calculations
• Immediately follows the column name - there can
also be the optional AS keyword between the
column name and alias
• Requires double quotation marks if it contains
spaces or special characters or is case sensitive
…
Copyright © Oracle Corporation, 2001. All rightsreserved. 1-17
Concatenation Operator
A concatenation operator:
• Concatenates columns or character strings to
other columns
• Is represented by two vertical bars (||)
• Creates a resultant column that is a character
expression
DESC[RIBE] tablename
DESCRIBE employees