entity-relationship model

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/23

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:16 PM on 9/14/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

24 Terms

1
New cards

what are the steps/phases to design a database

1st phase → understand the data usage/needs for its users

2nd phase → create the ER model for database

3rd phase → create the actual table schema (logic) and write SQL to make the table and other related features (physical, like functions, transactions, indices, etc..)

SEC

2
New cards

what is the 1st phase in database design

SUMMARIZE THE DATA USE CASES

3
New cards

what is the 2nd phase in database design

entity-relation model for the database

4
New cards

what is the 3rd phase in database design

create the table schema (logic) and actually write SQL to create the table and other related features (physical, like indices and transactions)

5
New cards

what is an entity set

a collection of similar individual objects or concepts that share the same attributes

LIKE ALL STUDENTS IN THE “student” TABLE

<p>a collection of similar individual objects or concepts that share the same attributes</p><p>LIKE ALL STUDENTS IN THE “student” TABLE</p>
6
New cards

what is an entity

a unique object with attributes (columns)

7
New cards

what is an attribute domain

a set of allowed values for an attribute (column)

8
New cards

what are the attribute types

simple and composite

single or multi-valued

derived (like calculated from other columns)

9
New cards

what are composite attributes

like an attribute you get after combining multiple columns

<p>like an attribute you get after combining multiple columns</p>
10
New cards

what are the notations for ER diagrams

expanded (graph) and compact (schema text)

{var} means multi-value, var () means derived

<p>expanded (graph) and compact (schema text)</p><p>{var} means multi-value,  var () means derived</p>
11
New cards

how to choose shape for ER diagrams

rectangle = entity set (like “student”)

diamond = relationship set

double oval = multi-value attribute

dashed oval = derived attribute

underlined = primary key

<p>rectangle = entity set (like “student”)</p><p>diamond = relationship set</p><p>double oval = multi-value attribute</p><p>dashed oval = derived attribute</p><p>underlined = primary key</p>
12
New cards

what is a relationship set

basically just an entity relationship entity

<p>basically just an entity relationship entity</p>
13
New cards

what is the degree of a relationship set

the # of entities in that relationship set

14
New cards

what are the 4 mapping cardinalities

one-to-one (1 1)

one-to-many (1 *)

many-to-one

many-to-many

15
New cards

how to visualize the mapping cardinalities

line = many

arrow = 1

<p>line = many</p><p>arrow = 1</p>
16
New cards

can relationships have attributes

yes

<p>yes</p>
17
New cards

what are roles

specific purposes for entities

labels to lines that connect diamond to rectangle in ER diagram

<p>specific purposes for entities</p><p>labels to lines that connect diamond to rectangle in ER diagram</p>
18
New cards

what is total participation in a relationship set

every entity is in the relationship

showed by the double line

<p>every entity is in the relationship</p><p>showed by the double line</p>
19
New cards

what is partial participation in a relationship set

when not every entity is in the relationship

showed by a single line

<p>when not every entity is in the relationship</p><p>showed by a single line</p>
20
New cards
21
New cards
22
New cards
23
New cards
24
New cards