Chapter 5 In Class Notes Flashcards
Q1: What Is the Purpose of a Database?
• Organize and keep track of things • Keep track of multiple themes • General rule: – Single theme store in a spreadsheet – Multiple themes require a database
Q2: What Is a Database?
A self-describing collection of integrated
records
– Bytes are grouped into columns (a.k.a. fields)
– Columns are grouped into rows (a.k.a. records)
Rows in a database are also called
Records
Columns in a database are also called
fields
Characters in a database are also called
bytes
Bytes are grouped into
columns
Columns are grouped into
rows
Components of a Database. 3 things
Tables or Files + relationships among rows in tables + metadata = database
What Are Relationships Among Rows?
For example a student can be in the email table and also the student table. There’s a relationship among rows.
Key:
A column or group of columns that identifies a unique row in a table
Databases that carry their data in the form of tables
and that represent relationships using foreign keys
are called
relational databases
Metadata:
data that describes data
Q3: What Are the Components of a
Database Application System? 4 of them
- User
- Database Application
- Database management system
- Tables, Relationships, Metadata
Database Management System
A software program used to create, process, and administer a database
Database =
a collection of tables, relationships and metadata
The DBMS
• Three Functions
– Create tables, relationships, and other structures in the
database
– Process the database (using SQL or another processing
language)
• Read
• Insert
• Modify
• Delete data
– Provide tools to assist in the administration of the
database (e.g. security and optimization)
What are the 4 processes of a database
Read
Insert
Modify
Delete Data