A.2 The Relational Database Model Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Database Management System

A

System software for creating and managing databases.
Provides users and programmers with a systematic way to create, retrieve, update and manage data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Relational database management system (RDBMS)

A

–> A database management system based on the relational model

–> Stored in database objects which are called tables

–> Each table are broken up into smaller entities called fields.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Record

A

A row of data is rach individual entry that exists in a table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Column

A

A vertical entity in a table that contains all information associated with a specific field in a table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Functions and tools of a DBMS

A
  1. Organises Data –> organized or structured according to the specifications
  2. Integrates Data –> Data is linked together so that it can be assembled into combinations during the execution of particular applications.
  3. Separates Data –> serves as a filter between application programs and their associated data.
  4. Controls Data –> controls where data is physically stored.
  5. Retrieves Data –> record of data can be obtained via DBMS
  6. Protects Data –> protects the data and relational elements from unauthorized users, physical damage, operating system failure, etc.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Security of DBMS

A

Data validation, access rights and data locking are all features that promote data security.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Schema

A

The logical structure of data in the database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Conceptual Schema

A

A basic model that contains entities and the relationship between them

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Logical Schema

A

Each entity in the conceptual schema is converted into either a table, field, or object with any restrictions needed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Physical Schema

A

It contains the name of the tables, a list of fields in each table, and relationships between tables that are specific to database management software.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Nature of Database Dictionary

A

Contains data about each file in the database and each field within those files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Data Definition Language (DDL)

A

Programming language used to define and create database schemas.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Table

A

The place where records and fields are stored

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Record

A

Groups of related fields

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Field

A

Combination of one or more one character

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Primary Key/ Candidate Key

A

Unique key field which identifies a record in the table

17
Q

Secondary key

A

A unique key field which identifies a record in another table

18
Q

Composite Secondary key

A

Combination of more than 1 primary key

19
Q

Join

A

Collection of fields

20
Q

One to One

A

When each record in one table is linked to only one record in the other table.

21
Q

One to Many

A

One row in table A may be linked with many rows in table B, but one row in table B is linked to only one row in table A

22
Q

Many to Many

A

When one or more items in one table can have a relationship to one or more items in another table

23
Q

Issues Caused by Redundant Data

A

Insertion Anomalies –> new rows –> duplicate data

Deletion Anomalies –> Deleting rows may cause a loss of data

Update Anomalies –> inconsistency in the data that happens after database is updated

24
Q

Referential Integrity

A

Refers to the relationship between tables.

–>It maintains the primary keys that are used to create a normalized database.

25
Q

1NF

A

One table

26
Q

2NF

A

Multiple tables that rely on primary keys

27
Q

3NF

A

Eliminates non-primary keys from relying on other non-primary keys

28
Q

Different data types (9)

A

Text
Numeric
AutoNumber
Currency
Date
Memo
Yes/No
Hyperlink
Object (photos, videos, audios)

29
Q

Construct a relational database to 3NF using objects such as tables, queries, forms, reports, and macros

A

-

30
Q

Construct an Entity-Relationship diagram (ERD) for a given situation

A

-

31
Q

Simple Query

A

Simple queries are made using one table.

32
Q

Complex Query

A

Complex queries are made using multiple tables and complex conditions

33
Q

SQL Statement

A

SELECT LastName, Phone,Email
FROM STUDENT
WHERE EMAIL LIKE “%@gmail.com”