Chapter 2 - Slides Flashcards
(91 cards)
The ____ is very popular because of its
simplicity and mathematical foundation
Relational Model
True or False? Relational model shows data to the user in a very simple, logical view as a two-dimensional table.
True
What is the strongest characteristic of the Relational Model?
the ability to establish relationships among tables, which helps to reduce redundancy
What was the first commercial implementation of the Relational Model?
SQL/DS on MVS OS by IBM and the Oracle DBMS in 1980s
What is a model?
a simplified version of real-life
complex objects.
What is a data model?
a simplified graphical
representation of a database structure and is a
tool to represent the various entity types and
relationships among the entity types.
What does the Entity-Relationship (ER) model provide?
- An excellent communication tool.
2. A simple graphical representation of data.
The E-R model uses _____ for
graphical representation of the database components
E-R diagrams (ERD)
What is an Entity?
it is represented by a
rectangle. The name of the entity (set) is written within
the rectangle. Some tools prefer to use uppercase
letters only for entities.
The name of an entity set is a _____
single noun
EMPLOYEE, CUSTOMER, and DEPARTMENT are examples of what?
Singular entity set names
A ___ represents relationship between the two
entities
line
The name of the relationship is an ____ in lowercase letters.
active verb
works, manages, and employs are examples of what?
relationships
How is 1:1 represented on the ER Model?
With 2 vertical lines on each side. (-||——||–) ie. manages
How is 1:M represented on the ER Model?
With 1 set of vertical lines on one side and angled lines on the right hand side.
(-||–||-)
How is M:N represented on the ER Model?
With 2 angled lines on each side.
(->—
The types of relationships (1:1, 1:M, and M:N) between entities are called:
connectivity or
multiplicity
How would you illustrate the following:
An EMPLOYEE supervises a DEPARTMENT, and a
DEPARTMENT has one EMPLOYEE supervisor
How would you illustrate the following:
A DIVISION contains many FACULTY members, but
a FACULTY works for one DIVISION.
D -||–(employs)–
How would you illustrate the following:
An INVOICE contains many ITEMS and an ITEM
can be in more than one INVOICE.
INV ->–(contains)–
The relationship between two entities can be given
using the lower and upper limits. This information is
called the ____.
cardinality
The ____ is written next to each entity in the
form (n, m)
cardinality
a (1, 1) next to
EMPLOYEE means that an employee can supervise a
___ of one and ___ of one department.
minimum; maximum