Lesson Objectives Aims You should know about: 1.3.2:

Slides:



Advertisements
Similar presentations
ER Model For a college DB
Advertisements

Normalisation.
ENTITY RELATIONSHIP MODELLING
GCSE Computing#BristolMet Session Objectives# 21 MUST describe methods of validating data as it is input. SHOULD explain the use of key fields to connect.
Entity-Relationship Model and Diagrams (continued)
Entity/Relationship Modelling
WJEC Applied ICT Databases – Attributes & Entities Entities A database contains one or more related tables. Each table holds all of the information.
1 Nassau Community CollegeProf. Vincent Costa Acknowledgements: Introduction to Database Management, All Rights ReservedIntroduction to Database Management.
 An entity-relationship (ER) diagram is a specialized graphic that illustrates the interrelationships between entities in a database.  An Entity Relationship.
File and Database Design SYS364. Today’s Agenda WHTSA DBMS, RDBMS, SQL A place for everything and everything in its place. Entity Relationship Diagrams.
Driving School Database
Conversion from ER diagram to relational model
Q1: What is DBMS and explain its architecture. Q2: Explain Data Independence in detail. Q3: What is database user and explain the types of database user.
G057 - Lecture 02 Introduction To Database System Concepts Mr C Johnston ICT Teacher
PLUG IT IN 3 Fundamentals of Relational Database Operations.
Copyright © Curt Hill The Relational Model of Database Basic organization and terms.
Information Systems & Databases 2.2) Organisation methods.
CIS 210 Systems Analysis and Development Week 6 Part II Designing Databases,
Entity-Relationship (E-R) Diagrams
An Entity Relationship (ER) Diagram is a graphic that shows the interrelationship between entities in a database.
 An entity-relationship diagram (ERD) is a specialized graphic that illustrates the interrelationships between entities in a database.
1 CS 430 Database Theory Winter 2005 Lecture 15: How to Convert an ER Model to Relations.
ENTITY RELATIONSHIP DIAGRAM ENTITY RELATIONSHIP DIAGRAM IS A SPECIALIZED GRAPHIC THAT ILLUSTRATES THE INTERRELATIONSHIPS BETWEEN ENTITIES IN A DATABASE.
Databases Illuminated Chapter 3 The Entity Relationship Model.
Database Design Normalisation. Last Session Looked at: –What databases were –Where they are used –How they are used.
Copyright Kathy S. Schwaig, MBA 8473 Kathy S. Schwaig Information Technology.
CMIS 450 Database Design Dr. Bijoy Bordoloi Entity Relationship (E-R) Modeling: Additional Notes.
Conversion from ER diagram to relational model 1 ER is a visual model The relational model is a matemathical model.
Tutorial on E-R Diagrams 1.Learn basic terminology and symbols –See next four slides; refer to as needed in steps 2-4 below 2.Learn the basics of E-R diagramming.
5 1 Normalization of Database Tables. 5 2 Database Tables and Normalization Normalization –Process for evaluating and correcting table structures to minimize.
Moya messam.  Definition: An entity-relationship (ER) diagram is a specialized graphic that illustrates the interrelationships between entities in a.
Starter Draw a mind map for topic 6 Databases. Objectives Revise topic CG3.6 Databases using various activities and ensure that topics covered are understood.
Year 12 > 13 Applied GCE ICT Unit 7 Using Database Software.
Flat file and relational databases Flat file database In a flat file database information is held in a single table. Student IDStudent name GenderDOBCourse.
PGCE Computer Science/ICT Progression in Databases Alex Hadwen-Bennett.
Lesson Objectives Aims You should know about: 1.3.2: (a) Relational database, flat file, primary key, foreign key, secondary key, entity relationship modelling,
April 20022/CS/3X1 Database Design Design method John Wordsworth Department of Computer Science The University of Reading Room.
ERwin.
Entity/Relationship Modelling
Week 03 – ER Diagram INFOSYS 222.
Order Database – ER Diagram
Entity Relationship Diagram
Order Database – ER Diagram
Databases – Exam questions
Databases Key Revision Points.
Case Studies: Data Modeling
Conceptual and Physical Database Design
Database Design – Lecture 4
Mr C Johnston ICT Teacher
Order Database – ER Diagram
Order Database – ER Diagram
CSCI-100 Introduction to Computing
Do it now – PAGE 13 You will find your do it now task in your workbook – look for the start button! Thursday, 20 September 2018.
CSCI 6315 Applied Database Systems – Exercise (1)
Entity-Relationship Model and Diagrams (continued)
Relational Model and ER Model: in a Nutshell
Order Database – ER Diagram
Entity relationship diagrams
Teaching slides Chapter 8.
Database Design and Development
Database Design and Development
Lesson Objectives Aims You should know about: 1.3.2:
Order Database – ER Diagram
Logical Data Modeling – Normalization
Databases 1.
Understand the purpose of normalisation in terms of reducing duplication of data  Understand the purpose of Primary and Secondary Keys in a Database  Learning.
ER MODELING Instructor: SAMIA ARSHAD
G061 - Data Dictionary.
Database Dr. Roueida Mohammed.
BTEC ICT – Unit 18 With Mr Griffiths.
Presentation transcript:

Lesson Objectives Aims You should know about: 1.3.2: (a) Relational database, flat file, primary key, foreign key, secondary key, entity relationship modelling, normalisation and indexing.

Copyright A lot of material here is referenced from a lecture given at Nottingham University http://www.cs.nott.ac.uk/~psznza/G51DBS/dbs4.pdf

Entities An entity is an object Usually, entities convert in to tables in a database Entities, as tables, have attributes E.g. the entity “student” will have the attributes “name”, “d.o.b”

Entities

Attributes Attributes appear on ER diagrams as ovals But you don’t need to do them in the exam or on this course It’s nice to know about them, though, right?

Attributes

Relationships Entities have relationships This is a description of how they are related/connected together. They are represented by lines with a diamond shape in the middle. In the exam, the diagram is slightly different…

Relationships There are 3 types of relationship: One to One One to Many (or many to one) Many to Many These relationships are called “Cardinality”

Exam Diagrams In the exam, the diamond shape will be omitted:

Examples

Many to many Many to many relationships are a bad thing They are difficult to represent in a database Many to many relationships are not in 3nf

Task http://www.cs.nott.ac.uk/~psznza/G51DBS/dbs4.pdf Slide 15 – Examine the example and follow through how an ER diagram is produced. Make notes on identifying Entities, Attributes, relationships etc

Review/Success Criteria You should know: How to interpret ER symbols How to draw an ER diagram How to identify relationships, entities and attributes How to remove many to many relationships