1-Introduction to Databases
1-Introduction to Databases
Databases
LEARNING OUTCOMES FOR THIS
LECTURE
• GAIN A BROAD UNDERSTANDING OF DATABASE CONCEPTS
• GAIN AN UNDERSTANDING OF DATABASE MANAGEMENT
SYSTEMS AND THEIR FUNCTIONALITIES
• HAVE A LEVEL OF UNDERSTANDING OF DATABASE SCHEMAS
• HAVE A LEVEL OF UNDERSTANDING OF DATABASE USERS
• GAIN AN UNDERSTANDING OF DATABASE MODELS
• BE AWARE OF DATABASE CAREERS
What is a database?
User
interface
User Database
interface
DBMS
User
interface
Database
DBMS EXAMPLE
Query: Trade
Unionists
Rhodes
lecturer
profiles
Why do we need a DBMS?
• A
Can manipulate the data but cannot change
the schema of the database
Relational databases – a collective set of multiple data sets organised by table, records and columns
RELATIONAL DATABASE MODEL
The logical view of the relational model is enabled by the
creation of data relationships based on logical construct
called a table
Table is 2-dimensional rows and columns
Each table row (tuple) represents a single entity
occurrence
Each table column (attribute or field) has a distinct name
Each cell has a single value
All values in a column must conform to the same data
format, e.g. integer, character
Each table must have an attribute or combination of
attributes that uniquely identify each row
Object-oriented Model
Differences between Relational and NOSQL
SQL NoSQL