SlideShare a Scribd company logo
Overview of Database Concepts
Chapter Objectives
• Identify the purpose of a database
management system (DBMS)
• Distinguish a field from a record and a
column from a row
• Identify the basic components of an Entity-
Relationship Model
• Define the three types of relationships that
can exist between entities
Chapter Objectives
• Identify the problem associated with many-
to-many relationships and the appropriate
solutions
• Explain the purpose of normalization
• Describe the role of a primary key
• Identify partial dependency and transitive
dependency in the normalization process
Chapter Objectives
• Explain the purpose of a foreign key
• Determine how to link data in different
tables through the use of a common field
• Explain the purpose of a structured query
language (SQL)
Database Terminology
• Database – logical structure to store
data
• Database Management System
(DBMS) – software used to create
and interact with the database
Database Components
• Character
• Field
• Record
• File
Database Components -
Character
• Basic unit of data
• Can be a letter, number, or special symbol
Database Components - Field
• A group of related characters
• Represents an attribute or characteristic of
an entity
• Corresponds to a column in the physical
database
Database Components - Record
• A collection of fields for one specific entity
• Corresponds to a row in the physical
database
Database Components - File
• A group of records about the same type of
entity
Components Example
Review of Database Design
• Systems Development Life Cycle (SDLC)
• Entity-Relationship Model (E-R Model)
• Normalization
Systems Development Life Cycle
(SDLC)
• Systems investigation – understanding the
problem
• Systems analysis – understanding the
solution
• Systems design – creating the logical and
physical components
Systems Development Life Cycle
(SDLC)
• Systems implementation – placing
completed system into operation
• Systems maintenance and review –
evaluating the implemented system
Entity-Relationship Model
(E-R Model)
• Used to depict the relationship that exists
among entities
E-R Model Symbols
Relationships
• The following relationships can be
included in an E-R Model:
– One-to-one
– One-to-many
– Many-to-many
One-to-one Relationship
• Each occurrence of data in one entity is
represented by only one occurrence of data
in the other entity
• Example: Each individual has just one
Social Security Number (SSN) and each
SSN is assigned to just one person
One-to-many Relationship
• Each occurrence of data in one entity can be
represented by many occurrences of the
data in the other entity
• Example: A class has only one instructor,
but each instructor can teach many classes
Many-to-many Relationship
• Data can have multiple occurrences in both
entities
• Example: A student can take many classes
and each class is composed of many
students
Example E-R Model
Normalization
• Determines required tables and columns for
each table
• Multi-step process allows designer to take
the raw data to be collected about an entity
• Used to reduce or control data redundancy
Attributes of Books
• isbn : a value string used to identify any book.
• Title: Book’s title
• Publication Date: A value of DATE type.
• Cost: Publisher’ price
• Retail: Sale’s price.
• Category: Computer, Fiction Science, etc.
• Publisher: Publisher’ house.
• Contact: Sale representative.
Representation of Books
Unnormalized Data
Contains repeating groups in the Author
column in the BOOKS table
First-Normal Form (1NF)
• Primary key is identified. A Primary key is
a field that serves to uniquely identify each
record.
• Repeating groups are eliminated (each entry
a separated record).
First-Normal Form (1NF)
ISBN and Author columns together create a
composite primary key
Composite Primary Key
• More than one column is required to
uniquely identify a row
• When a primary key consists of more or
one field, another problem may occurs---
partial dependency - a column/ns is/are
only dependent on a portion of the primary
key
The fields describing the book depend of
the book itself not upon who wrote.
Second-Normal Form (2NF)
• Partial dependency must be eliminated
– Break the composite primary key into
two parts, each part representing a
separate table (for example, Author)
Second-Normal Form (2NF)
BOOKS table in 2NF
Third-Normal Form (3NF)
Publisher contact name has been removed
Summary of Normalization Steps
• 1NF: eliminate repeating groups, identify
primary key
• 2NF: table is in 1NF and partial
dependencies eliminated
• 3NF: table is in 2NF and transitive
dependencies eliminated
Linking Tables
• Once tables are normalized, make certain
tables are linked
• Tables are linked through a common field
• A common field is usually a primary key in
one table and a foreign key in the other
table
overview of database concept
Graphical Representation for Books
Column Name ISBN Title Publication
Date
Cost Retail Category PublId
Key Type PK FK1
Null/
Unique
NN,U NN
FK Ref
Table
Publisher
FK Ref Columns PublId
Data type CHAR CHAR DATE NUMBER NUMBER CHAR NUMBER
Maximum
Length
10 35 11 11 25 5
Sample Data 8843172113 DATABASE 11/AGO/2003 69.75 89.75 computers 1234
Lab # 1
• Find the graphical representations of tables
considered in the Pet Shop.
Specialization
• Top-down design process; we designate subgroupings
within an entity set that are distinctive from other
entities in the set.
• These subgroupings become lower-level entity sets
that have attributes or participate in relationships that
do not apply to the higher-level entity set.
• Depicted by a triangle component labeled ISA (E.g.
customer “is a” person).
• Attribute inheritance – a lower-level entity set
inherits all the attributes and relationship participation
of the higher-level entity set to which it is linked.
Generalization
• A bottom-up design process – combine a
number of entity sets that share the same
features into a higher-level entity set.
• Specialization and generalization are simple
inversions of each other; they are represented
in an E-R diagram in the same way.
• The terms specialization and generalization are
used interchangeably.
UML
• UML: Unified Modeling Language
• UML has many components to graphically
model different aspects of an entire software
system
• UML Class Diagrams correspond to E-R
Diagram, but several differences.
Structured Query Language
(SQL)
• Data sublanguage
• Used to:
– Create or modify tables
– Add data to tables
– Edit data in tables
– Retrieve data from tables

More Related Content

What's hot (19)

PDF
Chapter 6 Database SC025 2017/2018
Fizaril Amzari Omar
 
PPT
Database concepts
Harry Potter
 
PPTX
Relational database revised
mnodalo
 
PPTX
Introduction to DBMS(For College Seminars)
Naman Joshi
 
PPT
Week 4 The Relational Data Model & The Entity Relationship Data Model
oudesign
 
PPTX
Database Management Systems 1
Nickkisha Farrell
 
PPT
Mca ii-dbms- u-ii-the relational database model
Rai University
 
PPT
11 Database Concepts
Praveen M Jigajinni
 
PPTX
Database Design
learnt
 
PPTX
Introduction to database
Arpee Callejo
 
PPTX
Introduction to databases
Bryan Corpuz
 
PPTX
Dbms classification according to data models
ABDUL KHALIQ
 
PPT
Database system concepts
Kumar
 
PDF
Introduction to Database
Syed Zaid Irshad
 
PPTX
Key database terms
listergc
 
PPTX
3 Level Architecture
Adeel Rasheed
 
PPTX
Types of databases
Md Showrov Ahmed
 
PPT
INTRODUCTION TO DATABASE
Muhammad Bilal Tariq
 
PPTX
Database
Bhandari Nawaraj
 
Chapter 6 Database SC025 2017/2018
Fizaril Amzari Omar
 
Database concepts
Harry Potter
 
Relational database revised
mnodalo
 
Introduction to DBMS(For College Seminars)
Naman Joshi
 
Week 4 The Relational Data Model & The Entity Relationship Data Model
oudesign
 
Database Management Systems 1
Nickkisha Farrell
 
Mca ii-dbms- u-ii-the relational database model
Rai University
 
11 Database Concepts
Praveen M Jigajinni
 
Database Design
learnt
 
Introduction to database
Arpee Callejo
 
Introduction to databases
Bryan Corpuz
 
Dbms classification according to data models
ABDUL KHALIQ
 
Database system concepts
Kumar
 
Introduction to Database
Syed Zaid Irshad
 
Key database terms
listergc
 
3 Level Architecture
Adeel Rasheed
 
Types of databases
Md Showrov Ahmed
 
INTRODUCTION TO DATABASE
Muhammad Bilal Tariq
 

Viewers also liked (20)

PPTX
How to Structure the Data Organization
Robyn Bollhorst
 
PPT
Database structure
Forrester High School
 
PDF
Relational Database Design - Lecture 4 - Introduction to Databases (1007156ANR)
Beat Signer
 
PDF
Database design & Normalization (1NF, 2NF, 3NF)
Jargalsaikhan Alyeksandr
 
PPTX
Database
Indrani Chakraborty
 
DOCX
proyectos informaticos
repelincuchara02
 
PDF
Table 5 description of activities and issues with respect to potential envi...
zubeditufail
 
PDF
Evolution of database access technologies in Java-based software projects
Tom Mens
 
PPT
Databases versus Spreadsheets-do you know where your data is?
stefanchauveau
 
PDF
DBMS Course Overview
Eunice Orozco
 
PPT
Intro to DBMS
sheikhfaizanali
 
PPTX
OAI and OAI-PMH
Lena Bruncaj
 
PPTX
Spreadsheets and databases
Diana A. Pérez
 
PPTX
DBMS and its Models
AhmadShah Sultani
 
PPTX
Chapter 5: Learning theories related to educationa Technology
osorio486
 
PPT
Ch 6 Logical D B Design
guest8fdbdd
 
PDF
Φύλλο Εργασίας 1: Αναζήτηση Εικόνων στο Διαδίκτυο
Penelope Markellou
 
PPT
DB security
ERSHUBHAM TIWARI
 
PPTX
Spreadsheet terminology
Tammy Carter
 
PPT
Normalisation
Forrester High School
 
How to Structure the Data Organization
Robyn Bollhorst
 
Database structure
Forrester High School
 
Relational Database Design - Lecture 4 - Introduction to Databases (1007156ANR)
Beat Signer
 
Database design & Normalization (1NF, 2NF, 3NF)
Jargalsaikhan Alyeksandr
 
proyectos informaticos
repelincuchara02
 
Table 5 description of activities and issues with respect to potential envi...
zubeditufail
 
Evolution of database access technologies in Java-based software projects
Tom Mens
 
Databases versus Spreadsheets-do you know where your data is?
stefanchauveau
 
DBMS Course Overview
Eunice Orozco
 
Intro to DBMS
sheikhfaizanali
 
OAI and OAI-PMH
Lena Bruncaj
 
Spreadsheets and databases
Diana A. Pérez
 
DBMS and its Models
AhmadShah Sultani
 
Chapter 5: Learning theories related to educationa Technology
osorio486
 
Ch 6 Logical D B Design
guest8fdbdd
 
Φύλλο Εργασίας 1: Αναζήτηση Εικόνων στο Διαδίκτυο
Penelope Markellou
 
DB security
ERSHUBHAM TIWARI
 
Spreadsheet terminology
Tammy Carter
 
Normalisation
Forrester High School
 
Ad

Similar to overview of database concept (20)

PPTX
DB2 on Mainframe
Skillwise Group
 
PPT
demo2.ppt
crazyvirtue
 
PPTX
Analysis 3 1
Keith Bryson
 
PPTX
Unit I Database concepts - RDBMS & ORACLE
DrkhanchanaR
 
PPTX
Relational Database management Models-MCA.pptx
Madhu855237
 
PPTX
DATA MODELS.pptx
Nithyasri Arumugam
 
PPTX
Module 3 Database systems for DIPLOMA.pptx
makinikanasi
 
PPTX
SQL-queries-for-Data-Analysts-Updated.pptx
Ganesh Bhosale
 
PPTX
Db sys concept
Mr Patrick NIYISHAKA
 
PPTX
Object-Oriented Systems Analysis and Design Using UML.pptx
XanGwaps
 
PPTX
Unit 2_DBMS_10.2.22.pptx
MaryJoseph79
 
PPT
Spatial Data Base Mangment-Teaching Material PPT.ppt
Habtemichael Wude
 
PDF
DBTypes of Databases and Data Models.pdf
CharlesABangura1
 
PPTX
ch2-slide Data Models.pptx
TamiratDejene1
 
PDF
Chapter – 2 Data Models.pdf
TamiratDejene1
 
PPTX
10-System-ModelingFL22-sketch-19122022-091234am.pptx
huzaifaahmed79
 
PPTX
MODELLING WITH OBJECTS.pptx
Tarun710971
 
PDF
RDBMS Model
Sarmad Ali
 
PDF
Introduction to Database Management Systems: Structure, Applications, and Key...
Mahmud Hasan Tanvir
 
PPT
Database design
FLYMAN TECHNOLOGY LIMITED
 
DB2 on Mainframe
Skillwise Group
 
demo2.ppt
crazyvirtue
 
Analysis 3 1
Keith Bryson
 
Unit I Database concepts - RDBMS & ORACLE
DrkhanchanaR
 
Relational Database management Models-MCA.pptx
Madhu855237
 
DATA MODELS.pptx
Nithyasri Arumugam
 
Module 3 Database systems for DIPLOMA.pptx
makinikanasi
 
SQL-queries-for-Data-Analysts-Updated.pptx
Ganesh Bhosale
 
Db sys concept
Mr Patrick NIYISHAKA
 
Object-Oriented Systems Analysis and Design Using UML.pptx
XanGwaps
 
Unit 2_DBMS_10.2.22.pptx
MaryJoseph79
 
Spatial Data Base Mangment-Teaching Material PPT.ppt
Habtemichael Wude
 
DBTypes of Databases and Data Models.pdf
CharlesABangura1
 
ch2-slide Data Models.pptx
TamiratDejene1
 
Chapter – 2 Data Models.pdf
TamiratDejene1
 
10-System-ModelingFL22-sketch-19122022-091234am.pptx
huzaifaahmed79
 
MODELLING WITH OBJECTS.pptx
Tarun710971
 
RDBMS Model
Sarmad Ali
 
Introduction to Database Management Systems: Structure, Applications, and Key...
Mahmud Hasan Tanvir
 
Database design
FLYMAN TECHNOLOGY LIMITED
 
Ad

More from gourav kottawar (20)

PPTX
operator overloading & type conversion in cpp
gourav kottawar
 
PPTX
constructor & destructor in cpp
gourav kottawar
 
PPTX
classes & objects in cpp
gourav kottawar
 
PPTX
expression in cpp
gourav kottawar
 
PPTX
basics of c++
gourav kottawar
 
PPT
working file handling in cpp overview
gourav kottawar
 
PPT
pointers, virtual functions and polymorphisms in c++ || in cpp
gourav kottawar
 
PPTX
exception handling in cpp
gourav kottawar
 
PPT
cpp input & output system basics
gourav kottawar
 
PPTX
operator overloading & type conversion in cpp over view || c++
gourav kottawar
 
PPTX
constructor & destructor in cpp
gourav kottawar
 
PPTX
basics of c++
gourav kottawar
 
PPTX
classes & objects in cpp overview
gourav kottawar
 
PPTX
expression in cpp
gourav kottawar
 
PPT
SQL || overview and detailed information about Sql
gourav kottawar
 
PPT
SQL querys in detail || Sql query slides
gourav kottawar
 
PPT
Rrelational algebra in dbms overview
gourav kottawar
 
PPT
Relational Model in dbms & sql database
gourav kottawar
 
PPTX
DBMS information in detail || Dbms (lab) ppt
gourav kottawar
 
PPTX
security and privacy in dbms and in sql database
gourav kottawar
 
operator overloading & type conversion in cpp
gourav kottawar
 
constructor & destructor in cpp
gourav kottawar
 
classes & objects in cpp
gourav kottawar
 
expression in cpp
gourav kottawar
 
basics of c++
gourav kottawar
 
working file handling in cpp overview
gourav kottawar
 
pointers, virtual functions and polymorphisms in c++ || in cpp
gourav kottawar
 
exception handling in cpp
gourav kottawar
 
cpp input & output system basics
gourav kottawar
 
operator overloading & type conversion in cpp over view || c++
gourav kottawar
 
constructor & destructor in cpp
gourav kottawar
 
basics of c++
gourav kottawar
 
classes & objects in cpp overview
gourav kottawar
 
expression in cpp
gourav kottawar
 
SQL || overview and detailed information about Sql
gourav kottawar
 
SQL querys in detail || Sql query slides
gourav kottawar
 
Rrelational algebra in dbms overview
gourav kottawar
 
Relational Model in dbms & sql database
gourav kottawar
 
DBMS information in detail || Dbms (lab) ppt
gourav kottawar
 
security and privacy in dbms and in sql database
gourav kottawar
 

Recently uploaded (20)

PPT
DRUGS USED IN THERAPY OF SHOCK, Shock Therapy, Treatment or management of shock
Rajshri Ghogare
 
DOCX
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
 
PDF
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
PDF
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
PDF
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
PPTX
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
PPTX
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
PPTX
Electrophysiology_of_Heart. Electrophysiology studies in Cardiovascular syste...
Rajshri Ghogare
 
PPTX
Rules and Regulations of Madhya Pradesh Library Part-I
SantoshKumarKori2
 
PDF
Tips for Writing the Research Title with Examples
Thelma Villaflores
 
PPTX
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
PPTX
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
DOCX
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
PPTX
Unlock the Power of Cursor AI: MuleSoft Integrations
Veera Pallapu
 
PDF
John Keats introduction and list of his important works
vatsalacpr
 
PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
PPTX
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
PDF
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
DOCX
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
DRUGS USED IN THERAPY OF SHOCK, Shock Therapy, Treatment or management of shock
Rajshri Ghogare
 
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
 
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
Electrophysiology_of_Heart. Electrophysiology studies in Cardiovascular syste...
Rajshri Ghogare
 
Rules and Regulations of Madhya Pradesh Library Part-I
SantoshKumarKori2
 
Tips for Writing the Research Title with Examples
Thelma Villaflores
 
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
Unlock the Power of Cursor AI: MuleSoft Integrations
Veera Pallapu
 
John Keats introduction and list of his important works
vatsalacpr
 
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 

overview of database concept

  • 2. Chapter Objectives • Identify the purpose of a database management system (DBMS) • Distinguish a field from a record and a column from a row • Identify the basic components of an Entity- Relationship Model • Define the three types of relationships that can exist between entities
  • 3. Chapter Objectives • Identify the problem associated with many- to-many relationships and the appropriate solutions • Explain the purpose of normalization • Describe the role of a primary key • Identify partial dependency and transitive dependency in the normalization process
  • 4. Chapter Objectives • Explain the purpose of a foreign key • Determine how to link data in different tables through the use of a common field • Explain the purpose of a structured query language (SQL)
  • 5. Database Terminology • Database – logical structure to store data • Database Management System (DBMS) – software used to create and interact with the database
  • 6. Database Components • Character • Field • Record • File
  • 7. Database Components - Character • Basic unit of data • Can be a letter, number, or special symbol
  • 8. Database Components - Field • A group of related characters • Represents an attribute or characteristic of an entity • Corresponds to a column in the physical database
  • 9. Database Components - Record • A collection of fields for one specific entity • Corresponds to a row in the physical database
  • 10. Database Components - File • A group of records about the same type of entity
  • 12. Review of Database Design • Systems Development Life Cycle (SDLC) • Entity-Relationship Model (E-R Model) • Normalization
  • 13. Systems Development Life Cycle (SDLC) • Systems investigation – understanding the problem • Systems analysis – understanding the solution • Systems design – creating the logical and physical components
  • 14. Systems Development Life Cycle (SDLC) • Systems implementation – placing completed system into operation • Systems maintenance and review – evaluating the implemented system
  • 15. Entity-Relationship Model (E-R Model) • Used to depict the relationship that exists among entities
  • 17. Relationships • The following relationships can be included in an E-R Model: – One-to-one – One-to-many – Many-to-many
  • 18. One-to-one Relationship • Each occurrence of data in one entity is represented by only one occurrence of data in the other entity • Example: Each individual has just one Social Security Number (SSN) and each SSN is assigned to just one person
  • 19. One-to-many Relationship • Each occurrence of data in one entity can be represented by many occurrences of the data in the other entity • Example: A class has only one instructor, but each instructor can teach many classes
  • 20. Many-to-many Relationship • Data can have multiple occurrences in both entities • Example: A student can take many classes and each class is composed of many students
  • 22. Normalization • Determines required tables and columns for each table • Multi-step process allows designer to take the raw data to be collected about an entity • Used to reduce or control data redundancy
  • 23. Attributes of Books • isbn : a value string used to identify any book. • Title: Book’s title • Publication Date: A value of DATE type. • Cost: Publisher’ price • Retail: Sale’s price. • Category: Computer, Fiction Science, etc. • Publisher: Publisher’ house. • Contact: Sale representative.
  • 25. Unnormalized Data Contains repeating groups in the Author column in the BOOKS table
  • 26. First-Normal Form (1NF) • Primary key is identified. A Primary key is a field that serves to uniquely identify each record. • Repeating groups are eliminated (each entry a separated record).
  • 27. First-Normal Form (1NF) ISBN and Author columns together create a composite primary key
  • 28. Composite Primary Key • More than one column is required to uniquely identify a row • When a primary key consists of more or one field, another problem may occurs--- partial dependency - a column/ns is/are only dependent on a portion of the primary key The fields describing the book depend of the book itself not upon who wrote.
  • 29. Second-Normal Form (2NF) • Partial dependency must be eliminated – Break the composite primary key into two parts, each part representing a separate table (for example, Author)
  • 31. Third-Normal Form (3NF) Publisher contact name has been removed
  • 32. Summary of Normalization Steps • 1NF: eliminate repeating groups, identify primary key • 2NF: table is in 1NF and partial dependencies eliminated • 3NF: table is in 2NF and transitive dependencies eliminated
  • 33. Linking Tables • Once tables are normalized, make certain tables are linked • Tables are linked through a common field • A common field is usually a primary key in one table and a foreign key in the other table
  • 35. Graphical Representation for Books Column Name ISBN Title Publication Date Cost Retail Category PublId Key Type PK FK1 Null/ Unique NN,U NN FK Ref Table Publisher FK Ref Columns PublId Data type CHAR CHAR DATE NUMBER NUMBER CHAR NUMBER Maximum Length 10 35 11 11 25 5 Sample Data 8843172113 DATABASE 11/AGO/2003 69.75 89.75 computers 1234
  • 36. Lab # 1 • Find the graphical representations of tables considered in the Pet Shop.
  • 37. Specialization • Top-down design process; we designate subgroupings within an entity set that are distinctive from other entities in the set. • These subgroupings become lower-level entity sets that have attributes or participate in relationships that do not apply to the higher-level entity set. • Depicted by a triangle component labeled ISA (E.g. customer “is a” person). • Attribute inheritance – a lower-level entity set inherits all the attributes and relationship participation of the higher-level entity set to which it is linked.
  • 38. Generalization • A bottom-up design process – combine a number of entity sets that share the same features into a higher-level entity set. • Specialization and generalization are simple inversions of each other; they are represented in an E-R diagram in the same way. • The terms specialization and generalization are used interchangeably.
  • 39. UML • UML: Unified Modeling Language • UML has many components to graphically model different aspects of an entire software system • UML Class Diagrams correspond to E-R Diagram, but several differences.
  • 40. Structured Query Language (SQL) • Data sublanguage • Used to: – Create or modify tables – Add data to tables – Edit data in tables – Retrieve data from tables