Week 1 Introduction To Database
Week 1 Introduction To Database
AND MANAGEMENT
TS. NGUYỄN HOÀNG LONG
0916666384
nguyenhoanglong@humg.edu.vn
LEARNING OUTCOMES
LO 1 LO 4
Understand relational data model in Interpret a given data model to
terms of data structure, data integrity, query the database and transform
the data into information using SQL
and data manipulation
(Structured Query Language)
LO 2 LO 5
Understand and be able to Implement a data model in a
develop conceptual database modern RDBMS (PostgreSQL)
models utilizing entity-
relationship
LO 3 LO 6
Design data structures that will Present the team’s technical report
limit redundancy and enforce both orally and in writing
data integrity while
conforming to organizational
requirements utilizing
normalization methodology
CIRICULUM
Content 4
Content 3
Introduction to database design Relational model
Content 5
Normalisation
Content 2
Database management system
Content 6
Advanced structured query language
Content 1
Introduction to database
ASSESSMENTS
B1 (10%) A (60%)
The assessment is based on the • Quizz (10%)
submitted homework • The assessment is based on the
final project
Attendances – 10%
The assessment is based
on based on the student’s
B2 – MidTerm project (20%) attendances
The assessment is based on the midterm
project
DATA
DATA INFORMATION
Data is a collection of facts Information puts those facts into context
Data points are individual and sometimes Information maps out that data to provide a
unrelated big-picture view of how it all fits together
DATA INFORMATION
Data does not depend on information Information depends on data
EXAMPLE 1 EXAMPLE 2
A customer’s response to an
At a restaurant, a single customer’s
individual customer service survey
bill amount is data. However, when
is a point of data. But when you
the restaurant owners collect and
compile that customer’s responses
interpret multiple bills over a range
over time—and, on a grander
of time, they can produce valuable
scheme, multiple customers’
information, such as what menu
responses over time—you can
items are most popular and whether
develop insights around areas for
the prices are sufficient to cover
improvement within your customer
supplies, overhead, and wages.
service team.
STORE DATA
IN A FILE IN A DATABASE
FILE SYSTEM
• In a File System, data is directly stored in set of files.
• It contains flat files that have no relation to other files
FILE SYSTEM EXAMPLE
DISCUSSION
Mỳ xào $50,000
Mỳ xào $50,000
Mỳ xào $50,000
Database is a collection of
interrelated data which helps in
the efficient retrieval, insertion,
and deletion of data from the
database and organizes the data
DATABASE
Data can be
A database is an organised into
organized collection tables, rows,
of data, so that it can columns, and index
be easily accessed it to make it easier
and managed. to find relevant
information.
There are
many databases
Modern databases
available like
are managed by the
MySQL, Sybase,
database
Oracle, MongoDB,
management system
Informix,
(DBMS)
PostgreSQL, SQL
Server, etc.
DATABASE TYPES
RELATIONAL
NOSQL DATABASE
DATABASE
This database is based on the relational data model,
which stores data in the form of rows(tuple) and Non-SQL/Not Only SQL is a type of database that
columns(attributes), and together forms a is used for storing a wide range of data sets.
table(relation).
Each table in the database carries a key that makes NoSQL presented a wide variety of database
the data unique from others. technologies in response to the demands.
NOSQL DATABASE
• Key-value storage: It is the simplest type of database storage where it
stores every single item as a key (or attribute name) holding its value,
together.